On Wed, Nov 5, 2008 at 11:46 AM, André Warnier <aw@xxxxxxxxxx> wrote: > On the other hand, in the Apache 2.2 mod_rewrite on-line help, there is this > paragraph : > RewriteRule can be used in per-directory config files (.htaccess). In such > a case, it will act locally, stripping the local directory prefix before > processing, and applying rewrite rules only to the remainder. When > processing is complete, the prefix is automatically added back to the path. > > Now, isn't the above (the original OP question) kind of a chicken-and-egg > issue ? > > I mean, before Apache even gets to the .htaccess file, it has to find the > path to the directory wher the .htaccess file is. And once it finds it, it > would have to re-interpret that same path and change it. > It does not seem to make a lot of sense.. That's why after the substitution apache restarts an internal request. That's also in the documentation... Krist -- krist.vanbesien@xxxxxxxxx krist@xxxxxxxxxxxxx Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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