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

Daniel B. Thurman dant at cdkkt.com
Mon May 11 14:51:15 UTC 2009


Patrick W. Barnes wrote:
> 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.
>   
Sigh,  I tested http://[...] and it appears that SSL certification is not
being requested, so it appears that you are correct.

I will keep trying.  If anyone has a (potential) solution, please let me 
know?

Dan





More information about the fedora-list mailing list