Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I configure Apache to access Subversion only through HTTPS and not through HTTP. HTTP need to use for access some other application in the same machine.

Please help on this. I am in the middle.

Thanks for the great help

share|improve this question

2 Answers 2

Basically, you should declare two virtual hosts using Apache VirtualHost directive, one for port 443 (HTTPS) and another one for port 80. Since virtual hosts can have completely different configs, you can easily serve Subversion on 443 and anything else on 80.

share|improve this answer
    
I hope it will help me. Thank you Alex. –  Premjith Aug 19 '11 at 5:04

you should be able to have both http & https for both applications. Set them up on a Virtual domain, and assign a subdomain for them ie subversion.mydomain.com and otherapp.mydomain.com.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.