httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] Odd htaccess mod_rewrite problem
Date Tue, 14 Aug 2007 13:33:45 GMT
On 14/08/07, Lars <sunberg@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message