How to disable or forbidden site.com/cpanel
Hello,
I want to be disable or forbidden to this cPanel URL.
I'm on shared server ultimate 4G
Apache
CloudLinux 6.x
Thanks.
-
Hello, You can't disable the /cpanel redirect without root access to the server. I recommend reaching out to your web hosting provider to see if they can modify the VirtualHost entry for your domain name in the Apache configuration to disable this redirect rule. Thank you. 0 -
I have access SFTP and FTP. Shared server it's from NameCheap. I can edit in .htaccess rule forbidden to /cpanel? 0 -
Hello, The global ScriptAliasMatch entries will override that .htaccess entry. There's a thread here to explain how to modify the behavior if you have root access: I want /webmail gone! You could reach out to your hosting provider to have them update the VirtualHost entry for the specific domain name. Thank you. 0 -
I don't have folder conf. This yanks out this line that normally builds into Apache's /usr/local/apache/conf/httpd.conf configuration file:
]http://image.prntscr.com/image/fb2fb36854ae4bfbb3c49977872bf032.png
0 -
Hello, The referenced thread was provided so you could send it to your hosting provider when requesting a change to your specific VirtualHost entry. This is change your hosting provider would have to make. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments