404 index.php

Status
Not open for further replies.

betadevp

New Member
Messages
16
Reaction score
0
Points
1
It was working fine then all of a sudden it started saying that index.php can't be found. It's in the public_html dir. I can visibly see it in FTP. Any ideas?



Not Found
The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
Does the file exist under /public_html?
If so then then when was this seen last working?
 

betadevp

New Member
Messages
16
Reaction score
0
Points
1
It's showing it exists in FTP. Was working fine a few minutes ago and then all of a sudden poof.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
It's in the public_html dir. I can visibly see it in FTP
as you can 'see' it with FTP - I would assume you got hit by "mod_security"... might be some other issue through

mod_security settings will throw a 404 error if it sees a "leaky" response and a 403 error if it sees a "shady" request
you'll get either a 403, a 404 or an empty response instead, depending on the apparent ( to mod_security ) severity
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
What is the script supposed to do?
By leaky response, he means information (such as errors) that shouldn't be put out for the public to see.
You can enable error logging in the cPanel PHP settings and try again to see what is causing this.
 
Status
Not open for further replies.
Top