404 error with directory that exists

Mike Wigington

Registered
Feb 4, 2016
2
0
1
Atlanta
cPanel Access Level
Website Owner
User is asking if there are name restrictions for directories.

[02-Feb-2016 22:42:15 UTC] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'interchange/bio_boiler.txt' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/"Account_name"/public_html/txt/bio.html on line 12

If the user is using interchange as the directory name, I see this warning. If the user uses interchange1 as the directory name the process works.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello :)

Do you notice any error messages in /usr/local/apache/logs/error_log when this PHP error occurs?

Thank you.
 

Mike Wigington

Registered
Feb 4, 2016
2
0
1
Atlanta
cPanel Access Level
Website Owner
Many messages concerning this directory and some other files.
[Wed Feb 03 11:51:17 2016] [error] [client IP] File does not exist: /home/p14fpt8d/public_html/favicon.ico, referer:
[Wed Feb 03 11:51:17 2016] [error] [client IP] File does not exist: /home/p14fpt8d/public_html/404.shtml, referer:
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
There should be no restrictions to the directory name, and the Apache log output does not suggest any conflicts with Mod_Security rules. You may want to consult with the script developers to help determine the cause.

Thank you.