Jump to content

Recommended Posts

Posted

When I try to make a new hotlink allowed URL, it says "There was an error while enabling hotlink protection. Show Details"

Show Details shows "Error: while opening /.htaccess"

Posted

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.

Posted

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]

Posted

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)$

 

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