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.

/cpanel /whm not work

Discussion in 'General Discussion' started by fpr, Jun 11, 2007.

  1. fpr

    fpr Active Member

    Joined:
    Oct 15, 2006
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
  2. Craigles

    Craigles Member

    Joined:
    Aug 5, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    I'm currently having the same problem on a number of our servers in our fleet.

    I've logged a ticket with cPanel support and hopefully will hear back from them shortly.
    Soon as I have an answer, i'll post it here for you.

    :)

    Craig
     
  3. Craigles

    Craigles Member

    Joined:
    Aug 5, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    cPanel support have said that my redirection stuff from the httpd.conf file was missing.

    No idea why, but there you go.

    Paste this stuff in the bottom of your httpd.conf file (if it doesn't already exists) and then restart httpd. Life should be good about then.

    ErrorDocument 400 /400.shtml
    ErrorDocument 401 /401.shtml
    ErrorDocument 403 /403.shtml
    ErrorDocument 404 /404.shtml
    ErrorDocument 500 /500.shtml
    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/ Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/ Alias /java-sys/ /usr/local/cpanel/java-sys/ Alias /img-sys/ /usr/local/cpanel/img-sys/ Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
    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
    ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
    Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/

    Cheers,
    Craig
     
  4. vagsoftware

    vagsoftware Active Member

    Joined:
    Oct 20, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
  5. sgtbenc

    sgtbenc Member

    Joined:
    Nov 15, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I add these to the end and apache doesn't start correctly. Do I need to add these in a more particular place?
     
  6. vagsoftware

    vagsoftware Active Member

    Joined:
    Oct 20, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Be careful to put outside a virtual host. cPanel is kind a stupid when it comes to write and rewrite httpd.conf. Also watch apache logs and sytem logs. Find if you allready have any of these lines in httpd.conf. It makes confusion. Keep searching, this is the solution.

    Respekt.
     
Loading...

Share This Page