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.

Help > ScriptAlias/ScriptAliasMatch

Discussion in 'General Discussion' started by cinran, Jun 23, 2004.

  1. cinran

    cinran Registered

    Joined:
    Nov 27, 2002
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. cinran

    cinran Registered

    Joined:
    Nov 27, 2002
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I put my thinking cap on and fixed it myself.

    found and commented out another entry for /menu and /up
     
    #2 cinran, Jun 23, 2004
    Last edited: Jun 23, 2004
Loading...

Share This Page