httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Tankersley <chris.tankers...@heartland-ins.com>
Subject [users@httpd] mod_rewrite and authentication
Date Mon, 04 Jun 2007 15:03:41 GMT
I've got a section of the website that I want only .htaccess 
authenticated users to be able to access, but I also want to push them 
to https://domain.name if they accidentally type in http://domain.name. 
If I throw both rules into my .htaccess I'm prompted to authenticate, 
then mod_rewrite fires, and then I have to authenticate again.

Is there a way I can tell apache to do the mod_rewrite first, then 
authenticate?

Apache 1.3.29 on OpenBSD 4.1

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message