On 14/08/07, Lars <sunberg@xxxxxxxxx> 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) .htaccess 2) /secure/.htaccess 3) > /secure/forum/.htaccess. Isnt that right? I'm not sure if this is right, but try adding RewriteOptions Inherit to this second htaccess file. -- noodl --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx