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.

**URGENT** Cant reach /cpanel or /whm or /webmail?

Discussion in 'E-mail Discussions' started by surfdue, May 28, 2006.

  1. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hello I can access through ports and domain but not domain/cpanel etc? How can i activate this or fix this?

    WHM 10.8.0 cPanel 10.8.2-S120
    Fedora i686 - WHM X v3.1.0
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Does the httpd.conf file have the ScriptAlias lines?
    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
     
  3. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    no they only have cgi-bin, what do i need to add or what do i need to do to fix it? The dc is saying that sometimes cpanel works with it and not this version dosnt, and im like wtf?
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Here's the default aliases section that has always been in my httpd.conf file.

    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/

    Just add those or the ones you want, if they're not there, to the end of the file and restart apache.
     
  5. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thank you so much, is there anyway to make this stay on future upgrades edits etc to httpd.conf?
     
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    That shouldn't be a problem. I've never had to manually put them back in. If they disappear again, you better find out what is doing that.
     
  7. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    how do i findout every apache update run from cpanel cuases it to be erased?
     
  8. rix

    rix Well-Known Member

    Joined:
    May 1, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page