Re: Odd htaccess mod_rewrite problem

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

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux