var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Stop cPanel redirects for subdomains, subfolders
I'm annoyed by the swiss cheese of cPanel. Specially, all the login methods available.
It causes problems, and I'm tired of it.
I want to entirely block
- subdomains (cpanel., whm., etc)
- subfolders (/cpanel, /whm, etc)
I DO NOT want to merely redirect them. I want the requests to be 404.
How can this be done?
You could change the folder names which would make them 404.
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
⚡⚡ Licensecart - We only sell High Quality licenses
⚡⚡ Visit us @ Licensecart.com ~ sales(➾)licensecart.com
WHT isn't what it used to be… power changes people :]
By Tim G in forum Hosting Security and Technology
Last Post: 07-19-2008, 09:36 PM
By bryankm282 in forum Hosting Software and Control Panels
Last Post: 03-19-2007, 07:49 PM
By Bambuk in forum Web Hosting
Last Post: 02-03-2005, 10:58 PM
By andreaf in forum Hosting Software and Control Panels
Last Post: 09-05-2003, 12:07 PM
By pzman in forum Hosting Software and Control Panels
Last Post: 09-08-2002, 05:44 AM