PDA

View Full Version : Hostgator was helpful - Who would have thought?


ProfSnape
08-05-2009, 09:14 PM
For anyone who has this error, this is the fix. I was scouring the net for a while and didn't have any luck, so here is how it went down.

So I was trying to fix this error on my server. I was trying to access some PHP code to create new tables, and I kept getting this error:

Forbidden You don't have permission to access /myFile.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So I finally got it cleared up with the HostGator live support by asking them to add some of the mod rules "add following rules [1234234,340151 ] to mod_security for www.HelpMe.net / Please whitelist for the domain.

Here is how the chat went down:

Chat Start Date: Aug 5 2009 7:17:29 PM
(7:22:08 PM) Shaun St: has entered the chat.
(7:22:25 PM) HelpMe: hi
(7:22:39 PM) HelpMe: Are you there
(7:23:16 PM) Shaun St: Hello, welcome to HostGator Live Chat.
(7:23:38 PM) HelpMe: Hi I think HOSTGATOR changed my permissions or something, cause if you
go here - http://www.HelpMe.net/myFile.php you will see the error
(7:23:57 PM) HelpMe: I did some research and found other peple with this problem said this
(7:24:16 PM) HelpMe: I don't know what the problem is, it could be that, but its definitely solmething
Hostgator did
(7:26:17 PM) Shaun St: What is the domain you need to have whitelisted?
(7:26:27 PM) HelpMe: First, what does whitelist mean?
(7:26:43 PM) HelpMe: Or what does it do?
(7:27:58 PM) HelpMe: This is what HOSTGATOR support says to other people with my problem
""It looks like this script was being blocked by a mod_security rule. I havedisabled this rule for this
domain, and the site appears to be working now.Please check around the site and let us know if
you see any other problems.""
(7:28:14 PM) HelpMe: So please fix that
(7:30:29 PM) HelpMe: ok I think this is what you need to do : add following rules [
1234234,340151 ] to mod_security for www.HelpMe.net / Please whitelist for the domain
(7:31:30 PM) Shaun St: It means you are hitting some mod_security rules./
(7:31:45 PM) HelpMe: ok I think this is what you need to do : add following rules [
1234234,340151 ] to mod_security for www.HelpMe.net / Please whitelist for the domain
(7:36:30 PM) Shaun St: check it now it should be working now
(7:36:43 PM) HelpMe: our entire website is down now www.HelpMe.net
(7:38:06 PM) Shaun St: check it now it should be better now
(7:38:53 PM) HelpMe: hmm the website is down, i think you have to revert what you did, cause i
cant even goto www.HelpMe.net
(7:39:03 PM) Shaun St: It is not down now it should not be
(7:39:09 PM) HelpMe: ok now its up
(7:39:24 PM) HelpMe: but we are back with the same error www.HelpMe.net/myFile.php
(7:40:25 PM) Shaun St: one moment please
(7:40:27 PM) HelpMe: ok
(7:42:56 PM) Shaun St: check it now
(7:43:26 PM) HelpMe: ForbiddenYou don't have permission to access /myFile.php on this
server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
to handle the request.
(7:43:38 PM) HelpMe: :(
(7:44:33 PM) Shaun St: one moment please
(7:44:36 PM) HelpMe: ok
(7:48:55 PM) Shaun St: check it now
(7:49:19 PM) HelpMe: still no worky
(7:51:31 PM) Shaun St: Ok it should work now.
(7:51:43 PM) HelpMe: im getting a different error now, which is good i guess but still a different error
haha
(7:52:00 PM) HelpMe: http://www.HelpMe.net/myFile.php see the error
(7:52:40 PM) HelpMe: now it works
(7:52:45 PM) HelpMe: i just refreshed it
(7:52:56 PM) Shaun St: yes, I corrected the issues for you on the site
(7:52:58 PM) HelpMe: ok what happened that way NEXT time if this happens I can tell you guys
what to do
(7:53:10 PM) HelpMe: Can you tell me what you did that way next time I can tell you guys what to
do
(7:53:20 PM) Shaun St: I apologize about the long wait you were hitting lots of mod_security rules
and you had a permissions issue on the files on your account that I corrected for you
(7:53:48 PM) HelpMe: ok thats fine, so those errors must generate automatically when I run lots of
PHP stuff
(7:54:24 PM) HelpMe: I run alot of PHP stuff on here and will be running lots of tests so if there is
anyway for hostgator to keep me allowed to do stuff, that woul dbe good.
(7:54:26 PM) Shaun St: You should not have any more issues on your account as I corrected
them all for you already on the server.
(7:54:37 PM) HelpMe: ok thanks

jorsup3425
03-19-2012, 04:00 PM
http://www.online-replica-handbags.com/coach-classic-handbags-c-378.html Replica Coach Classic Handbags onlin
Recommended Reading::


Nike Big Nike High Men shoes (http://blogs.princeton.edu/pia/personal/thoffecker/2010/10/bus-station-fun.html#comments)

Adidas JS Wings 2.0 shoe (http://powerdreams.com/community/pass-the-bar/viewtopic.php?f=3&t=76803&view=unread#unread)

Nike Air Max Lebron 8 (http://blogs.princeton.edu/pia/personal/thoffecker/2010/08/celebrity-sighting.html#comments)