1
19w08
Guest
Hi Guys,
This is what i am trying to use to protect my gfx for a new project.
But im guessing that i am doing something wrong cause when i try to acces
my files i get a Forbidden problem.
So i guess it works to good
Now i know a little bit of .htacces but i cant figure this one out.
Anyone an idea?
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://ip.ip.ip.ip/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.mysite.com/ [R,L]
This is what i am trying to use to protect my gfx for a new project.
But im guessing that i am doing something wrong cause when i try to acces
my files i get a Forbidden problem.
So i guess it works to good
Now i know a little bit of .htacces but i cant figure this one out.
Anyone an idea?
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*mysite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://ip.ip.ip.ip/.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.mysite.com/ [R,L]