Apache showing 404 on existing directories
Hi there,
I'm having a few issues with Apache. The last couple of days Apache (seemingly randomly) throws 404 errors for directories which exist and are under the document root. So at first I thought this was a permissions problem, but it's happening for every website on the server, except the server's hostname's domain.
There's nothing amiss in the apache error log (/usr/local/apache/logs), and I'm guessing permissions wouldn't be a problem across almost every account.
As far as I can tell nothing is done by a user to trigger this action - I hadn't changed any settings immediately prior to this happening.
The only thing that seems to fix it is a rebuild of Apache + PHP using EasyApache, but even this fix seems to be temporary - I rebuilt yesterday and the issue has just resurfaced again.
Any help appreciated!
[COLOR="silver">- - - Updated - - -
I should mention, Apache throws 404 constantly once it has started, but it seemingly starts at random (this wasn't clear in my original message). This also affects the public_html directory - 404 is thrown for the public_html directory (eg: domain.com/ throws a 404, too, not just subdirectories.)
-
Hello :) What's the specific error message that you see in the Apache error log when this happens? Thank you. 0 -
Hi there: [Tue May 27 17:07:54 2014] [error] [client 123.456.789.10] File does not exist: /home/**CPANELUSER**/public_html But the folder does exist, the directory listing in /home/**CPANELUSER** : drwxr-x--- 12 **CPANELUSER** **CPANELUSER** 4096 May 4 18:11 public_html/ 0 -
It seems odd that Apache would not find the directory if it exists. Feel free to open a support ticket so we can take a closer look and attempt to reproduce the issue. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Hi there, Request ID is: 5005233 0 -
To update, the issue has yet to reoccur so we have been unable to reproduce the issue at this point in time. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments