Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th October 2005, 21:09
sinosmond sinosmond is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Subversion&Trac support

How to build ISPConfig to support Subversion&Trac for every user ?

Hope Subversion&Trac support become a module of ISPConfig.
Reply With Quote
Sponsored Links
  #2  
Old 29th October 2005, 18:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

You mean you want to create a subversion account for every user?
What is Trac?
__________________
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
  #3  
Old 29th October 2005, 20:53
sinosmond sinosmond is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
You mean you want to create a subversion account for every user?
Yes, like www.csoft.net

==============================================
I think, Subversion support maybe 4 case:

1. repo at / , one repo

$ svnadmin create /home/www/web1/web
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

2. repos at / , multi repos

$ svnadmin create /home/www/web1/web/project1
$ svnadmin create /home/www/web1/web/project2
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNParentPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

3. repo at /svn , one repo

$ svnadmin create /home/www/web1/web/svn
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
DAV svn
SVNPath /home/www/web1/web/svn

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>

4. repos at /svn , multi repos

$ svnadmin create /home/www/web1/web/svn/project1
$ svnadmin create /home/www/web1/web/svn/project2
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
DAV svn
SVNParentPath /home/www/web1/web/svn

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>
------------------------------------------------------------

maybe more...


Quote:
Originally Posted by falko
What is Trac?
Trac Project

Last edited by sinosmond; 29th October 2005 at 22:10.
Reply With Quote
  #4  
Old 30th October 2005, 17:05
Spum Spum is offline
Member
 
Join Date: Oct 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Err, it's kinda like SVN or CVS.. But, what is the point, most users wont even know what it is :-/
Reply With Quote
  #5  
Old 31st October 2005, 22:37
sinosmond sinosmond is offline
Junior Member
 
Join Date: Oct 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Spum
Err, it's kinda like SVN or CVS.. But, what is the point, most users wont even know what it is :-/
I want service some developers , vhost should support svn or cvs .

at least, I can add snippet which can't delete by ISPConfig in Vhost.conf .
Reply With Quote
  #6  
Old 9th February 2006, 04:12
xinman xinman is offline
Junior Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Currently I have a working ISPConfig server setup. I was reading your post about SVN. I use my ISPConfig primarily for testing webapps, etc... it's not really a production system. I would like to implement SVN, as I am no longer able to SFTP into my box from work. I have diffrent subdomains for every project that I do. I would like each to have a repos. Not automagically, I am willing to create the repos as needed (some will not need it). I was looking at
Code:
2. repos at / , multi repos

$ svnadmin create /home/www/web1/web/project1
$ svnadmin create /home/www/web1/web/project2
------------------------------------------------------------
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNParentPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>
I believe this is what I want, but I need to know, did you get this implementation working, or do you see any reason why it shouldn't. Can you also tell me where exactly I need to put the conf info
Code:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location />
DAV svn
SVNParentPath /home/www/web1/web

AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/www/web1/.htpasswd

<LimitExcept GET PROPFIND OPTIONS REPORT>
SSLRequireSSL
Require valid-user
</LimitExcept>
</Location>
Does it go in the apache directives?
Reply With Quote
  #7  
Old 9th February 2006, 09:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

I think the loadmodule directives should go directly in your httpd.conf.

The other directives should be put i the apache directives field of the website in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 21st October 2006, 17:22
d0nut d0nut is offline
Junior Member
 
Join Date: Jul 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

great stuff.. in the browser it works fine
i configured ssl over ispconfig, added the code in apache directives (over ispconfig) and everything was ok

but when i try a checkout, i always get a 301 error message

svn: PROPFIND Anfrage fehlgeschlagen auf '/svn/projekt'
svn: PROPFIND von '/svn/projekt': 301 Moved Permanently

this concers the "DocumentRoot"-Problem
-> http://subversion.tigris.org/faq.html#301-error

but how to solve? how to make this directories not to overlap?
Reply With Quote
  #9  
Old 22nd October 2006, 16:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Does this apply to your situation?

Quote:
For example, if you've exported a repository as <Location /www/foo>, but you've also set your DocumentRoot to be /www, then you're in trouble. When the request comes in for /www/foo/bar, apache doesn't know whether to find a real file named /foo/bar within your DocumentRoot, or whether to ask mod_dav_svn to fetch a file /bar from the /www/foo repository. Usually the former case wins, and hence the "Moved Permanently" error.
Can you post your SVN Apache vhost configuration here?
__________________
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
  #10  
Old 22nd October 2006, 17:01
d0nut d0nut is offline
Junior Member
 
Join Date: Jul 2006
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

hi falko
this is the full entry from Vhosts_ispconfig.conf
The SVN Path overlaps the DocumentRoot
The problem is clear - but why did it work for the users above

I just reread the text - So this text from the FAQ would fit, if i would have a folder named /svn in the linux root filesystem.
that's not the case

but now i have complety no idea, what to do

Code:
<VirtualHost 88.198.215.155:80>
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
 DAV svn
 SVNParentPath /var/www/svn.easy-coding.de/web/svn
 AuthType Basic
 AuthName 'Subversion repository'
 AuthUserFile /var/www/svn.easy-coding.de/web/svn/.htpasswd
# <LimitExcept GET PROPFIND OPTIONS REPORT>
 SSLRequireSSL
 Require valid-user
# </LimitExcept>
</Location>
<Location /svn/projekt>
 AuthUserFile /var/www/svn.easy-coding.de/web/svn/projekt/.htpasswd
</Location>
<Location /svn/projekt2>
 AuthUserFile /var/www/svn.easy-coding.de/web/svn/projekt2/.htpasswd
</Location>
SuexecUserGroup nobody web33
ServerName svn.easy-coding.de:80
ServerAdmin nobody@easy-coding.de
DocumentRoot /var/www/web33/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web33/log/error.log
Alias /error/ "/var/www/web33/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web33/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web33/user/$1/web/$3
</VirtualHost>

Last edited by d0nut; 22nd October 2006 at 17:11.
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
Mono support Zoon Feature Requests 1 8th July 2008 14:56
Menu Support for JSP and aspx pontifex Feature Requests 1 19th September 2005 20:08
Support System Tribal-Dolphin Developers' Forum 18 24th August 2005 00:38
Powerdns Support jcid Feature Requests 0 20th August 2005 21:49
Installing on a x86_64 based system? hkaiser Installation/Configuration 23 20th August 2005 20:51


All times are GMT +2. The time now is 04:58.


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