Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Here are some brief notes I kept the last time I did this.
This assumes that you already have SSL set up for the
yum install subversion mod_dav_svn httpd mod_ssl
mkdir -p /var/svn; cd /var/svn; svnadmin create repo; chown -R apache. repo
set Location and SVNPath e.g. /var/svn/repo #not SVNParentPath
set AuthName and AuthUserFile e.g. /etc/svn/svn.users
include <LimitExcept OPTIONS> #if not readable by all
htpasswd -c /etc/svn/svn.users admin
service httpd restart
htpasswd /etc/svn/svn.users otheruser
The <Location> entry would be similar to this.
# Limit write permission to list of valid users.
#<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthName "My Subversion Server"
Thanks a million for your helpful response carltm.
The line 'edit /etc/httpd/conf.d/subversion.conf' is where it starts to diverge for me, because the folder 'conf.d' does not exist in my httpd folder, there's only a 'conf' folder in it, which itself does not contain a 'subversion.conf' file in it ...
Any idea why this folder 'conf.d' would NOT exist? (recently the webserver was upgraded to apache2, because all the tutorials were covering apache2)
I ran that command and lo and behold, it finds a file 'welcome.conf' within folder 'httpd/conf.d', but then when doing an 'ls -al' command (which I believe shows hidden files as well), the folder does NOT appear?!
[09:41:21][root@host:/etc/httpd]# rpm -qc httpd
[09:44:22][root@host:/etc/httpd]# ls -al
drwxr-xr-x 17 root root 4096 Oct 21 05:03 ./
drwxr-xr-x 22 root root 4096 May 7 19:26 ../
drwxr-xr-x 2 root root 4096 Oct 21 04:51 bin/
drwxr-xr-x 2 root root 4096 Oct 21 04:51 build/
drwxr-xr-x 2 root root 4096 Oct 21 04:51 cgi-bin/
drwxr-xr-x 11 root root 4096 Oct 25 06:00 conf/
drwxr-xr-x 9 root root 4096 May 7 19:27 conf_pre_ea3/
drwx--x--x 17 root wheel 12288 Oct 25 09:44 domlogs/
drwxr-xr-x 3 root root 4096 Oct 21 04:51 error/
drwxr-xr-x 5 root root 4096 Oct 21 04:51 htdocs/
drwxr-xr-x 3 root root 4096 Oct 21 04:51 icons/
drwxr-xr-x 2 root root 4096 Oct 21 04:51 include/
drwxr-xr-x 4 root root 4096 Oct 21 04:51 lib/
drwxr-xr-x 2 root root 4096 Oct 25 06:00 logs/
drwxr-xr-x 4 root root 4096 Oct 21 04:51 man/
drwxr-xr-x 14 root root 12288 Sep 24 09:29 manual/
drwxr-xr-x 2 root root 4096 Oct 21 04:57 modules/
[09:44:26][root@host:/etc/httpd]# ls conf.d
/bin/ls: conf.d: No such file or directory
Strange huh? I have never seen anything like this ...
You've got some non-standard files directories, and the permissions are
not the ones that come with Centos. My guess is that this is not the
standard httpd package for Centos, or the server admins have done some
modifications, or both.
I'd suggest that you check in with the admins to find out the location
of the configuration files for apache and any customizations that they