Forum Moderators: phranque

Message Too Old, No Replies

stop working after format....

SetEnvIfNoCase not allowed here

         

c0nsur

9:31 pm on Apr 23, 2005 (gmt 0)

10+ Year Member



hi guys

i have a set of pictures on my server that i only want my 2 websites accessing it!

here is my .htaccess:


setenvifnocase referer ^http://(www\.)?site1\.com allowed
setenvifnocase referer ^http://(www\.)?site2\.com allowed
<FilesMatch "\.(jpg¦JPG)">
Order Allow,Deny
Allow from env=allowed
</FilesMatch>

all i get is a 500 error page

in my logs it says :

SetEnvIfNoCase not allowed here

i have
Apache/1.3.33 Server at localhost Port 80

can you help me getting this work...

thank you
Luke.

c0nsur

9:57 pm on Apr 23, 2005 (gmt 0)

10+ Year Member



oh lol
forgot to add those lines :p

<Directory "/PATH/TO/MY/FOLDER/">
AllowOverride all
IndexIgnore *
Options None
Order deny,allow
allow from all
</Directory>

i added this in my httpd.conf and its now working