remove cpanels ScriptAlias /controlpanel ??

forlinuxsupport

Well-Known Member
PartnerNOC
Dec 22, 2004
386
0
166
cPanel Access Level
Root Administrator
HI

How can I remove the line below from the apache config ??

ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
If I comment it out, when cpanel updates at night it gets put back automatically :( :(

The main reason is a client has a directory called /controlpanel off his web folder... so I want to browse the folder and NOT do the ScriptAlias. No one uses the ScriptAlias anyway, so I jsut want to remove it permanently.

Override it with a .htaccess files ?? what would i put in the .htaccess files ??
any ideas ??

thanks
andy