httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Re: force rewrite to occur before authentication, howto?
Date Mon, 12 Dec 2005 14:30:30 GMT
On 12/11/05, T F <> wrote:
> > The problem is that the login box pops up before the rewrite
> I'm still not having any luck with this.  It appears as though
> authentication is happening before the rewrite.  I need the
> opposite:  need rewrite before the authentication.
> Oddly, a google search turns up posts with both situations.
> In some, people are in my boat (trying to get rewrite before auth)
> In others, people are stating that Apache actually rewrites before
> authentication (which is want I'm after).

It depends, I believe, on where you put the RewriteRules.  If they are
in the main server context, they happen before auth.  If they are in
.htaccess or <Directory> sections, they happen after auth.  I don't
know of any way to work around this.


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:

View raw message