LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2007, 10:22 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
adding Location section to apache config on the fly - possible?


I'm looking to start using SVN for version control of projects at work. The problem is that I want our users to be able to create their own repositories on the fly, but in order to do that, you need to add something to the apache conf that looks like:

Code:
<Location /svn/bkq>
    DAV svn
    SVNPath /local/svn/repos/bkq
</Location>
... and then restart apache. At least AFAIK.

Is there some other way to do this? Can this be done on the fly (like with htaccess or something like that)? It seems like the important bit is the "DAV svn" line - can that go in an htaccess file if I put the svn root in the web root? Any other clever ideas?
 
Old 11-29-2007, 02:35 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
If anyone else comes across this, the answer is that you use SVNParentPath instead of SVNPath - that way all children of the parent path inherit the "DAV svn".

The above example would then become:

Code:
<Location /svn>
    DAV svn
    SVNParentPath /local/svn/repos
</Location>
but the "bkq" project would still be accessed by: http://localhost/svn/bkq
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
add a new section to your X config file dalan Linux - General 5 07-27-2006 08:15 PM
apache: location in location eantoranz Linux - Networking 2 08-08-2005 10:37 PM
Ices config - script for playlist section acc92 Linux - Software 1 05-11-2005 03:53 AM
Config file organization/location Dark_Helmet Linux - General 2 05-24-2004 11:41 AM
location of iptables config file munisp Linux - Networking 1 12-13-2001 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration