The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by bangsters, Oct 20, 2009.

  1. bangsters

    bangsters Well-Known Member

    Joined:
    Jun 28, 2004
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. votethehost.com

    votethehost.com Active Member

    Joined:
    Oct 2, 2009
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago
    Let me know what the error logs say when you access the website which shows 404 error.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    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.
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page