LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-28-2009, 06:19 AM   #1
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Rep: Reputation: 15
centos 5: query regarding configuring svn with apache 2...


I've been checking out this wiki: http://wiki.centos.org/HowTos/Subversion

Section 4.2 talks about some config details. Am confused there...the authors says:
Quote:
# Add the following to allow a basic authentication and point Apache to where the actual
# repository resides.
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /etc/svn-auth-conf
Require valid-user
</Location>
Isn't this something to go inside apache's config files...?
 
Old 12-29-2009, 09:25 PM   #2
ddreggors
LQ Newbie
 
Registered: Oct 2007
Distribution: RedHat, CentOS, Mandriva, and Ubuntu
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by deostroll View Post
Isn't this something to go inside apache's config files...?
Yes and they tell you to edit the apache config file that subversion created:

Quote:
Get yourself to the example configuration file Subversion installed for you.

and

Code:
[root@lucifer ~] cd /etc/httpd/conf.d/
[root@lucifer ~] vim subversion.conf

This file (/etc/httpd/conf.d/subversion.conf) is created by the subversion installer and most default apache installs "include" all config files (*.conf) in "/etc/httpd/conf.d/".

Example (lines found in default httpd.conf):

Code:
# include legacy conf.d during a transition period
Include conf.d/*.conf

Last edited by ddreggors; 12-29-2009 at 09:28 PM.
 
  


Reply

Tags
centos5, subversion, svn


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
SVN secure Access using Apache on Centos 5 gvanto Linux - Server 6 10-25-2009 04:53 AM
review board with svn integration not working on centos 5.3 balu.phanee Linux - Software 0 07-28-2009 09:47 AM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
Configuring Apache in Linux for SVN. lakshmi4linux Linux - Newbie 1 03-30-2009 03:44 AM
SVN compile issues - centos 5 64bit neocontrol Linux - Server 1 11-06-2007 11:07 AM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration