apache rewrite question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Here in my debian lenny box rewrite stuff is working well in .htaccess file.

For viewvc ( web based svn )  I have the following  config . ( Not a vhost )

``````````````````````````
ScriptAlias /svn  /usr/lib/cgi-bin/viewvc.cgi
<Location /svn>
SSLRequireSSL
AuthType Basic
AuthName "requires a password"
AuthUserFile /home/svn/PASSWD
Require valid-user
</Location>
```````````````````````````````

So from both internet and intranet  viewvc requires https://
I wounder if there is any way to redirect http to https when visit
http://<localhost>/svn or http://<mydomain>/svn  in the above config ?
Is it possible ?
Thanks

---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux