Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

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

  1. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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:
    4
    Trophy Points:
    343
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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:
    4
    Trophy Points:
    343
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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:
    4
    Trophy Points:
    343
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. surfdue

    surfdue Member

    Joined:
    May 20, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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:
    156
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice