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

surfdue

Member
May 20, 2006
18
0
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
 

surfdue

Member
May 20, 2006
18
0
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?
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
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.
 

surfdue

Member
May 20, 2006
18
0
151
Thank you so much, is there anyway to make this stay on future upgrades edits etc to httpd.conf?