Elpie

Registered
Jul 18, 2004
2
0
151
I had some mod_rewrite code in my htaccess, and decided to work on some hotlink protection in cPanel. When I enabled Hotlink protection it overwrote the rules I had set in .htaccess and it turns out once you disable hotlinking cPanel erases the entire .htaccess file.

Am I doing something wrong or is this a bug in cPanel?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Sounds more like a "feature" ;) I guess it's difficult for them to merely append the hotlink directives in the .htaccess as people could easily amend them, making it very difficult to the disable, programatically. You could log it in bugtrack.