[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Svn through apache access issues.

From: Ravi Shekhar <rxs141_at_po.cwru.edu>
Date: 2004-04-21 07:57:14 CEST

Hi,

I've been trying to set up an svn server on a Fedora Core 1 machine
through apache for a day or so. I've looked through the svnbook and the
archives of this list, but I can't seem to find a solution to my
problem. I am unable to get another computer to access the repository
over http, but the local filesystem works fine.

First, this is my apache config block.
(/etc/httpd/conf.d/subversion.conf). I'm not trying to do any
authentication at this point, I can get that working later. It all loads
successfully so I'm assuming I'm doing this correctly.
#CODE------------------------------------------------------
#LoadModule dav_module modules/mod_dav.so (already loaded elsewhere)
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
   DAV svn
   SVNPath /home/svn
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
# AuthType Basic
# AuthName "Subversion"
# AuthUserFile /etc/httpd/auth-svn
# Require valid-user
# </LimitExcept>
</Location>
#------------------------------------------------------

I installed the 1.01 rpms available for FC1. The hostname of the server
is Octavia. This is what I did next. All access works just fine from the
local file system. No problems. I can add, commit, everything.

#CODE------------------------------------------------------
[root@octavia home]# cd /home; mkdir svn
[root@octavia home]# svnadmin create svn/
[root@octavia home]# chmod -R 777 svn/
[root@octavia home]# cd svn
[root@octavia svn]# ls -alh
total 36K
drwxrwxrwx 7 root root 4.0K Apr 21 01:34 .
drwxr-xr-x 19 root root 4.0K Apr 21 01:34 ..
drwxrwxrwx 2 root root 4.0K Apr 21 01:34 conf
drwxrwxrwx 2 root root 4.0K Apr 21 01:34 dav
drwxrwxrwx 2 root root 4.0K Apr 21 01:34 db
-rwxrwxrwx 1 root root 2 Apr 21 01:34 format
drwxrwxrwx 2 root root 4.0K Apr 21 01:34 hooks
drwxrwxrwx 2 root root 4.0K Apr 21 01:34 locks
-rwxrwxrwx 1 root root 376 Apr 21 01:34 README.txt
[root@octavia svn]# cd ..
[root_at_octavia home]# svn mkdir file:///home/svn/foo (brings up editor
and I enter a message)
[root_at_octavia home]# svn co file:///home/svn/foo
Checked out revision 1.
[root@octavia foo]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
#------------------------------------------------------

Now this is what I tried to do from another computer (Olivia). It also
is Fedora Core 1 and I installed from the same rpms. No firewall is
interfering in any way. I allowed word read-write on the repository so
it can't be an insufficient permissions error.

#CODE------------------------------------------------------
[root_at_olivia tmp]# svn co http://octavia/svn/foo
svn: PROPFIND request failed on '/svn/foo'
svn:
Could not open the requested SVN filesystem
#------------------------------------------------------

I would really appreciate any help with this, I've gone through all I
could find and I'm stumped. Thanks.

Ravi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 21 07:57:51 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.