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

swiss_toni

Member
Jun 19, 2003
12
0
151
ScriptAliases in httpd.conf

I added:

quote:
ScriptAlias /admin /usr/local/


I added:

ScriptAlias /admin /usr/local/cpanel/base/redirect.cgi
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:
 

hormigo

Well-Known Member
Sep 9, 2002
104
0
166
Add
ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi

and run
service httpd stop
service httpd start

cPanel.net Support Ticket Number:
 

swiss_toni

Member
Jun 19, 2003
12
0
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: