| Christian Emig 2004-04-21, 8:38 am |
| I found the following in http://httpd.apache.org/docs/howto/htaccess.html
[vbcol=seagreen]
Further note that Apache must look for .htaccess files in all higher-level
directories, in order to have a full complement of directives that it must
apply. (See section on how directives are applied.) Thus, if a file is
requested out of a directory /www/htdocs/example, Apache must look for the
following files:
/.htaccess
/www/.htaccess
/www/htdocs/.htaccess
/www/htdocs/example/.htaccess[vbcol=seagreen]
Might it be possible that this does NOT apply to RewriteRule statements?
If I put a RewriteRule in /.htaccess and if there exists a RewriteRule in
/www/htdocs/example/.htaccess that only the RewriteRules from
/www/htdocs/example/.htaccess are applied?
That's at least what I expierienced with Apache 1.3.26/Unix
Is the behaviour ok?
thnx! ce.
|