I tried to set up svn in the LAMPP environment. My svn repositories are in /var/svn/repos
, and the repos
directory is owned by root:root
.
Now, when running the command
svn import test http://localhost/svn -m 'init'
I see this error message:
svn: Could not open the requested SVN filesystem
How can I make the command run successfully?
Go to SVNParentPath Directory Here my directory path is
/var/www/svn
Create a Repository Under SVNParentPath
Give Apache Permission
Create a SVN User
Assign Permission
Restart Apache Service
You need the repository to be accessible by the web server (Apache). Change the user:group to something like apache:apache, httpd:httpd, or www-data:www-data.
You might have run into the SVN issue with custom error documents. Fix it:
This is from RimuHosting's subversion HowTo. The important line is
ErrorDocument 404 default
– add this to the<Location …>
block that configures a location for SVN, reload the Apache config, and it should be fine.(I guessed your SVN repo is probably mapped to
http://localhost/svn/
and adapted config directives in the quotation accordingly.)please run this command under your repo after running "chown -R apache:apache *". You have to change file and directory permission as well
I had same problem with my subversion (1.6) on default repository of cent OS. Finally i un-installed svn and install latest version(1.8). My problem solved.
To install svn latest version follow this link. http://tecadmin.net/install-subversion-1-8-on-centos-rhel/