Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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 and

share|improve this answer

Your Answer


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.