You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2009/11/25 03:58:19 UTC

Re: [users@httpd] Re: RewriteRule in neither "foo/.htaccess" nor ".htaccess" can match http://example.com/.../foo

On 11/24/09, Jack Bates <ms...@freezone.co.uk> wrote:
>  * /foo/ to deliver /foo/index.html, or whatever it would naturally deliver
>  * /foo to deliver /foo.html always

IIUC, your problem boils down to:

/.htaccess has your desired behavior
/foo/.htaccess has some undesired, incompatible catch-all behavior

Sounds like you'd be a customer for the enhancement suggested here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=39313

Which makes the inherited rules run before the more specific rules. At
least you'd have a fighting chance with the other order.


-- 
Eric Covener
covener@gmail.com

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