httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <>
Subject [users@httpd] redirect occurs after authorization !!!
Date Tue, 27 Oct 2009 06:37:11 GMT
Hello list,

I have finally able to redirect the viewvc ( svn viewer ) to https. here
is the configuration

ScriptAlias /test  /usr/lib/cgi-bin/viewvc.cgi

<Location /test>
RewriteEngine   on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

AuthType Basic
AuthName "requires a password"
AuthUserFile /home/svn/PASSWD
Require valid-user

This is working fine for both internet and intranet.  But  I have found
it first check the authorization through http connection and after
getting the right password it redirects  to https version.  Can I
redirect  to http before authentication  ?
Please let me know.

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