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!

ScriptAliases in httpd.conf I added: quote: ScriptAlias /admin /usr/local/

Discussion in 'General Discussion' started by swiss_toni, Jul 17, 2003.

  1. swiss_toni

    swiss_toni Member

    Joined:
    Jun 19, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    ScriptAliases in httpd.conf

    I added:

    quote:
    ScriptAlias /admin /usr/local/


    I added:

    to httpd.conf and it worked beautifully.

    However, I decided to remove it and restarted httpd, but /admin still links to cPanel.

    Is there a site level config file I need to modify?

    I am new to cPanel.

    Thanks for any pointers.

    cPanel.net Support Ticket Number:
     
  2. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    166
    Add
    ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi

    and run
    service httpd stop
    service httpd start

    cPanel.net Support Ticket Number:
     
  3. swiss_toni

    swiss_toni Member

    Joined:
    Jun 19, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Thanks for the reply.

    The /cpanel already existed. I figured out what was wrong though. I was looking in /etc/httpd/conf/httpd.conf when I should have been in /usr/local/apache/conf/httpd.conf

    What are standards anyway?

    I removed the entry, restarted httpd, and again things are wonderful.

    cPanel.net Support Ticket Number:
     
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