How to redirect http to https with Apache/SVN/SSL [SOLVED]

Patrick W. Barnes nman64 at n-man.com
Mon May 11 03:21:30 UTC 2009


On Sunday 10 May 2009 19:26:51 Daniel B. Thurman wrote:
> DRAT!  TYPO!
>
> Should be:
>
> <VirtualHost host.domain.com:80>
>    ServerName host.domain.com
>    CustomLog /svn/Admin/logs/access.log combined
>    ErrorLog  /svn/Admin/logs/error.log
>    SSLProxyEngine on
>    ProxyPass / https://host.domain.com/
>    ProxyPassReverse / https://host.domain.com/
> </VirtualHost>
>
> <VirtualHost host.domain.com:443>
>    [...]
> </VirtualHost>
>
> My mistake was the 2nd VirtualHost clause where 80 should be 443:
>
> Now, that's better ;)

Keep in mind that having Apache proxy non-HTTPS queries will mean that the 
link from the client to the server will NOT be SSL-protected.  Traffic from the 
SVN client to your server will be in the clear.

-- 
Patrick "The N-Man" Barnes
nman64 at n-man.com

http://n-man.com/

LinkedIn:
http://linkedin.com/in/nman64

Have I been helpful?  Rate my assistance!
http://rate.affero.net/nman64/

All messages cryptographically signed:
http://en.wikipedia.org/wiki/OpenPGP
-- 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090510/dd8c3ff6/attachment-0001.sig>


More information about the fedora-list mailing list