#1  
Old 30th September 2011, 10:49
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default SVN over HTTPS?

Hi,

is there a nice tutorial on how to setup SVN via Apache2/HTTPS with ISPConfig3?

Thanks,
Kira
Reply With Quote
Sponsored Links
  #2  
Old 30th September 2011, 12:15
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Or, to be a bit more specific - there are some tutorials I already read, but I don't know how to implement it with ISPConfig3...

Let my domain be http://www.myDomain.com
My SVN should be available trough https://svn.myDomain.com

So, a few questions:

1) Do i do this in the Options tab of myDomain.com, or should I create a Subdomain or completly new Domain?

2) As far as I found out, I have to add the following lines to my Apache config:

Code:
DAV svn
SVNParentPath /var/svn

AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /usr/local/svn-root/dav_svn.passwd
Require valid-user

SSLEngine on
SSLCertificateFile /etc/apache2/apache.pem
But do I have to do all this with ISPConfig as well? Because I think ISPConfig is doing the SSL thing already... but what about the rest?


So in overall, what do I have to add to the Domain-Options -> Apache directives box?

Thanks,
Kira
Reply With Quote
  #3  
Old 1st October 2011, 09:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

AFAIK, if you enable SSL and create an SSL cert, ISPConfig creates two vhosts, one ofr http and one for https. If oyu enable WebDAV, it is added to both vhosts.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 5th October 2011, 03:18
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

thanks a lot - got it to work

Only one thing... I added this to my Apache Directives in the Options tab:

Code:
	<Location /svn/>
		DAV svn
		SVNPath [....]
		AuthType Basic
		AuthName [...]
		AuthUserFile [...]
		Require valid-user
	</Location>
So I can access the SVN via:
https://www.myDomain.com/svn

But, I'd like to have it via:
https://svn.myDomain.com/

I tried to do this with an Sub-Domain entry (Redirect Type "NoFlag" and "/svn" as target), but this didn't work..

Any idea how I can do this?
I don't want to create a new site "svn.myDomain.com" just for this silly thing

Thanks,
Kira
Reply With Quote
  #5  
Old 10th October 2011, 02:56
Kira Kira is offline
Member
 
Join Date: Jun 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Is it not possible to do this?
Maybe with an own Apache Directive somehow?

Cheers,
Kira
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailuser interface Horfic Plugins/Modules/Addons 497 28th November 2013 10:01
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
400 Bad Request when https is used Overcrook Installation/Configuration 7 5th October 2011 02:02
3 Question SSL cert, https redirect, WebFtp, serkejal Installation/Configuration 8 19th April 2011 19:10
squid and https passthrough Xitron Installation/Configuration 0 5th November 2009 18:40


All times are GMT +2. The time now is 01:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.