The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hotlink protection wipes .htaccess

Discussion in 'General Discussion' started by Elpie, Jul 18, 2004.

  1. Elpie

    Elpie Registered

    Joined:
    Jul 18, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page