[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] .htaccess problems



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