we enabled suphp, now some sites show a 404 error.

bangsters

Well-Known Member
Jun 28, 2004
76
0
156
Hi.

We needed to enable suphp in one of our servers running latest whm. however, after enabling suphp, some sites started to show 404 error message.

what could be causing this? at first we checked if it was a mod rewrite error but mor rewrite is loaded (by default I believe).

Please advice.

Thanks
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Are you sure it is a 404 error and not a 500 error?

Look at my previous posts from today and I think that will
answer all your questions about what is causing that.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
As was previously mentioned, please monitor the Apache error_log when re-testing the URLs that trigger a 404 error.

Here is a command you may use to monitor the error_log:
Code:
# tail -fvn0 /usr/local/apache/logs/error_log
There could be a lot of output depending on how active your Apache server is, so it will help to be ready to test for the 404 errors right before starting "tail" to monitor the error_log, then proceed to trigger the 404 error and check for related log detail if any is available.