Subversion - Could not open the requested SVN filesystem
Hey,
I'm trying to configure subversion on a CentOS server that runs Apache2. I have this in httpd.conf: Code:
<Location /repos> Also I've restarted the httpd daemon. /home/repos has both owner and group ownership set to 'apache' and also I've tried setting it to chmod 777 ( now is 755). If is use file:///home/repos it works fine, but if I try to use it via a URL like http://domain.com/repos then it gives me this: Code:
svn: PROPFIND request failed on '/repos/repository' Thanks LATER EDIT: Quote:
|
Quote:
Regards |
My bad, I made the repsitory in /home/repos not in /home/admin. So that's alright.
On the other hand there was a wee problem with the apache modules as follows: I didn't had the mod_dav_svn.so so I did a yum install dav_svn. In httpd.conf I don't have any LoadModule for mod_dav_svn but if I add: Code:
LoadModule dav_svn_module modules/mod_dav_svn.so Code:
Starting httpd: [Tue Jul 01 11:21:27 2008] [warn] module dav_svn_module is already loaded, skipping Code:
LoadModule dav_module modules/mod_dav.so |
If the module is already loaded, then maybe there is an "Include ..." statement in httpd.conf that is used to load the various modules. You can run
Code:
httpd -M |
I did a httpd -M and in deed the modules:
Code:
dav_svn_module (shared) Still the I cannot access the svn repository. |
Quote:
Anyway take a look at the apache error_log to see if you find out what the problem is. |
Quote:
|
Make sure that the user/group that apache is running as, owns your repository (you said that it's apache:apache but check httpd.conf to make sure).
Also change "SVNPath /home/repos" to "SVNParentPath /home/repos" to see if it helps. |
Thanks for all the support, I've found the problem.
It seems that due to the definition in httpd.conf the correct browser path was /repos/repos. Thanks again |
Quote:
Regards. |
All times are GMT -5. The time now is 02:43 PM. |