On Dec 16, 2007 10:06 PM, Bryan Richardson <btricha@xxxxxxxxx> wrote: > > This of course requires a login. Now, the situation I'm coming across is > I'm getting two requests for login; one at http://localhost and the other at > https://localhost. So, it looks to me like the authorization request is > occurring before the rewrite, then once the redirect happens it's requiring > another login because of the change in address (correct?). Is there any way > (short of using the config files rather than .htaccess files) to force the > Rewrite to happen first? Also, would use Redirects rather than Rewrites fix > the problem? I've already tried to use a Redirect (RedirectMatch, > actually), but I couldn't get it to work. If Redirects would fix the > problem then any suggestions on how to use a Redirect in the .htaccess file > for this situation would be much appreciated!!! No, you can't fix this in .htaccess. The redirect itself may be confidential, so the auth must happen before the redirect. To fix the problem, you just put the auth stuff inside the ssl vhost in httpd.conf. Joshua. --------------------------------------------------------------------- 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