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.

Add on domain image rewrite

Discussion in 'General Discussion' started by mike25, Oct 24, 2005.

  1. mike25

    mike25 Well-Known Member

    Joined:
    Aug 29, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Raleigh NC, USA
    Why when creating add on domains is the following line added to the end of the .htaccess file

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    This line seems to not let users load images from their sub domains for the add on domains content, is it supposed to serve some purpose?
     
  2. ecwebtechie

    ecwebtechie Well-Known Member

    Joined:
    Mar 22, 2005
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    if you have enabled hot-link-protection in your cpanel these lines will be added in to your .htaccess

    try removing it from your cpanel
     
Loading...

Share This Page