Well that was a quick and very good and right answer :) Thanks! It worked!
But do anyone know of any solution that I can put on the lowest level
of .htaccess file? I use this /secure/ directory to store lots of
other stuff under, and I have really no control if any other .htaccess
files comes under
On 14/08/07, Lars <[EMAIL PROTECTED]> wrote:
> Hello List
> RewriteEngine on
> RewriteRule ^file-(.*)$ show-file.php?file=$1 [NC]
> But here is the problem. When I have the last rule, the first cookie
> check rule doesnt apply. Why? I tought that apache was checking
> htaccess file like this, 1)
Hello List
I have a problem with htaccess I cant quite figure out of.
I have a .htaccess file in /secure/ with something like this:
RewriteEngine on
RewriteCond %{HTTP_COOKIE} !^.*PHPSESSID=1234567890abcdef1234567890abc.*$
RewriteRule .*$ - [F]
This sends 403 if the browser doesnt have the spe