[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] .htaccess problems
- Subject: [cobalt-users] .htaccess problems
- From: Andre Levasseur <leon24@xxxxxxxxxxxxxxxx>
- Date: Thu Mar 6 06:37:00 2003
- Organization: Andre
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello cobalt-users,
I am trying to protect a directory with this .htaccess file but i
still can access the protected area of the site from a browser !
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*mysite.com(:80)*/ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thiersite.com(:80)*/ [NC]
RewriteCond %{HTTP_REFERER} !^http://theirsite.com(:80)*/ [NC]
RewriteCond %{HTTP_COOKIE} !(^|(.+;)*)id=valid(;.*|$)
RewriteRule /* mysite.com [R,L]
I also tried to CHMOD 644 the file but got the same result.
Now some other .htaccess files are working right like: 404 missing
page etc...
Any clues ?
Thanks
--
Best regards,
Andre mailto:leon24@xxxxxxxxxxxxxxxx