Help > ScriptAlias/ScriptAliasMatch

cinran

Registered
Nov 27, 2002
3
0
151
Hello,

Been here for over a year..First Post. :)

WHM 9.4.0 cPanel 9.4.1-S56
RedHat 7.3 - WHM X v3.1.0

When we setup our cPanel servers we added /menu and /up for webmail and the control panel access. This was to help ease the pain of transferring all of our customers to Cpanel.

After the latest cPanel upgrade these ScriptAlias's broke.

I found the entries in the httpd.conf file:

ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi

ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

So I added these entries:

ScriptAlias /menu /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /up /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/menu/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/up/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

It still does not work..Do I need to add them some where else?

If you can, please help.

Thanks
 

cinran

Registered
Nov 27, 2002
3
0
151
I put my thinking cap on and fixed it myself.

found and commented out another entry for /menu and /up
 
Last edited: