Re: Odd htaccess mod_rewrite problem

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

 



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 that folder. Is there anything that whould force
childs to obey?

Thanks again!

On 8/14/07, Vincent Bray <noodlet@xxxxxxxxx> wrote:
> 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
>
>

---------------------------------------------------------------------
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