httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars <sunb...@gmail.com>
Subject Re: [users@httpd] Odd htaccess mod_rewrite problem
Date Tue, 14 Aug 2007 22:05:50 GMT
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@gmail.com> wrote:
> 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
>
>

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