Hello I'm trying to combine:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://poff\.sixbit\.org.*$ [NC]
RewriteCond %{REQUEST_FILENAME} .*\.(jpg|gif|png|jpeg)$
RewriteRule \.(jpg|gif|png|jpeg)$
http://poff.sixbit.org/thief.jpg [NC,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://poff\.sixbit\.org.*$ [NC]
RewriteCond %{REQUEST_METHOD} POST
RewriteRule /*
http://poff.sixbit.org [R]
Into one block (no repition):
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://poff\.sixbit\.org.*$ [NC]
RewriteCond %{REQUEST_FILENAME} .*\.(jpg|gif|png|jpeg)$ [NC,OR]
RewriteCond ${REQUEST_METHOD} POST
RewriteRule \.(jpg|gif|png|jpeg)$
http://poff.sixbit.org/thief.jpg [NC,L]
RewriteRule /*
http://poff.sixbit.org [R]
Why doesn't this work?
I couldn't see any examples of this in the docs (1.3.x)
Can anyone help?
Thanks,
--
poff DeleteThis @sixbit.org
SDF Public Access UNIX System -
http://sdf.lonestar.org