httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Fwd: [users@httpd] mod_rewrite subrequests or last rules within <Directory>
Date Wed, 26 Nov 2008 14:30:25 GMT
based on questions/problems on #apache, this probably does deserve some emphasis

---------- Forwarded message ----------
From: Peter Kehl <>
Date: Wed, Nov 26, 2008 at 9:10 AM
Subject: Re: [users@httpd] mod_rewrite subrequests or last rules
within <Directory>


thank you.

Now I see it's mentioned at mentions
that 'in per-directory context mod_rewrite first rewrites the
filename... and then initiates a new internal sub-request with the new
URL. This restarts processing of the API phases.'

I originally only read It says
'Because the per-directory rewriting comes late in the process, the
rewritten request has to be re-injected into the Apache kernel' - but
it's not clear what is actually hapening to the request. Whoever
maintains this web page, please could you append something like 'as if
it were a new request - see
[ ]'  or '
and it checks for any applicable rules again, from all its per-server
or per-directory contexts' (or something more clear).

Thank you

2008/11/26 Eric Covener <>:
>> rewriter log says it rewrites to /index.php first (1st rule) and then
>> it rewrites it to /set_cookie.php (2nd rule). I thought [L] and [NS]
>> should stop any further rules. What am I missing?
> In per-directory context, any time you make a change the entire cycle
> is restarted -- 'L' only applies to the current pass.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
  "   from the digest:
For additional commands, e-mail:

Eric Covener

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message