You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Busco Bruno <Bu...@ansaldobreda.it> on 2002/09/13 12:54:19 UTC

subversion setup

Hello, I am new to subversion,
I am trying to set up a subversion server and a client but at the moment I
cannot work it out.

I have done the following step:

On the Win2000 server:
1) Installed Apache 2.0.40 (apache_2.0.40-win32-x86-no_ssl.msi)
2) Installed subversion (svn-0.14.2-r3033-setup.exe)
3) In the Apache httpd.conf dove the following:
       a) uncommented line: 
           LoadModule dav_module module/mod_dav.so
       b) uncommented line: 
           LoadModule dav_fs_module module/mod_dav_fs.so
       c) added line:
           LoadModule dav_svn_module /programmi/subversion/mod_dav_svn.so
       d) added lines:

Alias /svnrepo "C:/svnrepo"
<Location /repos>
    DAV svn
    SVNParentPath "c:/svnrepo"
    Order allow,deny
    Allow from all
</Location>

<Directory "C:/svnrepo">
    Options Indexes FollowSymLinks MultiViews IncludesNoExec
    AddOutputFilter Includes html
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

4) Started the Apache service
5) issued the command "svnadmin create repo1" from the svnrepo directory

The repository has been created with success !!!

On a Win98 client:
1) Installed subversion (from the same setup file)
2) I can access the server from the client by pointing IE at the address:
http://151.89.50.75/svnrepo/
   that is the address of the server on my intranet.
3) When I issue the command:
    svn import http://151.89.50.75/repo1 prova1 prova1 -m 'bruno'
   I get the following:

svn: RA layer request failed
svn: OPTIONS request failed on /repo1
svn: The OPTIONS request returned invalid XML in the response: XML parse
error a
t line 1: no element found. (/repo1)


Can someone help me to understand what is wrong?
Did I miss anything in the setup?

Thank you
Bruno 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion setup

Posted by Peter Davis <pe...@pdavis.cx>.
On Friday 13 September 2002 06:06, Philip Martin wrote:
> You need to use /svnrepo here, not /repo1.

In his httpd.conf Busco has:

  <Location /repos>

So wouldn't he need /repos instead of /svnrepo?  Maybe I'm not understanding 
the use of the whole Alias thing.

-- 
Peter Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion setup

Posted by Philip Martin <ph...@codematters.co.uk>.
Busco Bruno <Bu...@ansaldobreda.it> writes:

> On a Win98 client:
> 1) Installed subversion (from the same setup file)
> 2) I can access the server from the client by pointing IE at the address:
> http://151.89.50.75/svnrepo/
>    that is the address of the server on my intranet.
> 3) When I issue the command:
>     svn import http://151.89.50.75/repo1 prova1 prova1 -m 'bruno'
                                     ^^^^^
You need to use /svnrepo here, not /repo1.

>    I get the following:
> 
> svn: RA layer request failed
> svn: OPTIONS request failed on /repo1
> svn: The OPTIONS request returned invalid XML in the response: XML parse
> error a
> t line 1: no element found. (/repo1)

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion setup

Posted by Peter Davis <pe...@pdavis.cx>.
On Friday 13 September 2002 05:54, Busco Bruno wrote:
> 5) issued the command "svnadmin create repo1" from the svnrepo directory

Sorry, I just noticed that you're using SVNParentPath.  Try using the URL 
/repos/repo1.  Your <Location> specifies "/repos", and you created "repo1" 
under that parent.

If that doesn't work, see my other message.

-- 
Peter Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org