Jump to content

[Solved] Hotlink Protection Error


njaohnt

Recommended Posts

I can't get to it.

I typed in the search on file manager "htaccess" and the first file was /public_html/.htaccess and when I click on that, it shows the public_html file, and I can't find the .htaccess in there.

Link to comment
Share on other sites

RewriteEngine on

# -FrontPage-

 

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

 

<Limit GET POST>

order deny,allow

deny from all

allow from all

</Limit>

<Limit PUT DELETE>

order deny,allow

deny from all

</Limit>

AuthName jzdb.heliohost.org

AuthUserFile /home1/njaohnt/public_html/_vti_pvt/service.pwd

AuthGroupFile /home1/njaohnt/public_html/_vti_pvt/service.grp

 

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http://www.tset.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.tset.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://tset.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://tset.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://adv.j-z-d.tk/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://adv.j-z-d.tk$ [NC]

RewriteCond %{HTTP_REFERER} !^http://j-z-d.tk/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://j-z-d.tk$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jz.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jz.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jzauctions.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jzauctions.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.adv.j-z-d.tk/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.adv.j-z-d.tk$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.j-z-d.tk/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.j-z-d.tk$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jz.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jz.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jzauctions.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jzauctions.jzdb.heliohost.org$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jzdb.heliohost.org/.*$ [NC]

RewriteCond %{HTTP_REFERER} !^http://www.jzdb.heliohost.org$ [NC]

RewriteRule .*\.(jpg|jpeg|gif|png|bmp|htm|html|css)$ http://jzdb.heliohost.org/hotlinkblock.htm [R,NC]

Link to comment
Share on other sites

Looks like your set for hotlink protection, although this line should only be image extensions:

 

RewriteRule .*\.(jpg|jpeg|gif|png|bmp|htm|html|css)$

 

Something like:

 

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...