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.

/whm /cpanel and /webmail redirect gives 500 Internal Server Error

Discussion in 'E-mail Discussions' started by mphosting, Jan 31, 2006.

  1. mphosting

    mphosting Member

    Joined:
    Apr 12, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I am on WHM 10.8 and currently get a 500 Internal Server error when I access /whm, /cpanel or /webmail

    I have just recompiled Apache and PHP and restarted the server. I have also run /scripts/upcp --force and still nothing helps.

    I checked httpd.conf and it has the lines

    ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi

    I can access it fine on both HTTP and HTTPS when I enter the port numbers manually.

    Does anybody know what to do?
     
  2. mphosting

    mphosting Member

    Joined:
    Apr 12, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Solved with

    /scripts/fixeverything
     
Loading...

Share This Page