Thanks Ryan for your reply.
I tried to following your help.
Yes, I want apache running on 80 and 5432 (it's just a number, following
your help I'll change it) and serve web site on 80 and svn on 5432.
How can I do it?
I added in my httpd.conf virtual host around location svn in this way (I
added also Listen 5432).
Listen 5432
<VirtualHost *:5432>
<Location /svn>
DAV svn
SVNPath "C:/svn/repository"
AuthType Basic
AuthName "My subversion repository"
AuthUserFile "C:/svn/conf/dav_svn.passwd"
AuthzSVNAccessFile "C:/svn/conf/dav_svn.authz"
Require valid-user
</Location>
</VirtualHost>
Same error:
Error: Server sent unexpected return value (403 Forbidden) in response to
OPTIONS
Error: request for 'http://62.149.161.250:5432/svn'
I noted just a thing. I have other virtual hosts (for web site )in
extra\httpd-vhosts.conf
I need to put svn virtual host in that file?
Is it right the syntax?Please help me, I'm going mad.
Thanks
-----Messaggio originale-----
Da: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Inviato: sabato 6 giugno 2009 2.10
A: GiuseppeB
Cc: users_at_subversion.tigris.org
Oggetto: [?? Probable Spam] Re: Error: Server sent unexpected return value
(403 Forbidden) in response to OPTIONS
On Jun 5, 2009, at 17:48, GiuseppeB wrote:
> I've a win server, with apache and svn.
> In the past I had apache on port 5432(and so svn) and everything
> goes ok.
> For my requirement now I had to move apache to port 80 (so svn is
> gone to 80).When I try to access to my old repository this is the
> error:
>
> Error: Server sent unexpected return value (403 Forbidden) in
> response to OPTIONS
>
> I'm not able to understand.
> If i go on server and I enter
>
> localhost/svn
> it works correctly,
> if from other machine i run
>
> ipaddress/svn
> it gives me error I posted.
>
> In the httpd.conf I've
> Listen 80
> ServerName 'Ipaddress'
> and
> <Location /svn>
> DAV svn
> SVNPath "C:/svn/repository"
> AuthType Basic
> AuthName "My subversion repository"
> AuthUserFile "C:/svn/conf/dav_svn.passwd"
> AuthzSVNAccessFile "C:/svn/conf/dav_svn.authz"
> Require valid-user
> </Location>
>
>
> How can i change port of svn?
> Please help me.
>
> I think there's some problem with svn on port 80. It's not a
> problem change it, but I'm not able to move svn on a port different
> from apache one. Is it possible? How?
Please clarify your goal: you would like Apache to run only on port
80, and for Subversion to be served from this Apache instance on port
80 (what you've shown above should accomplish this); or you would
like Apache to run on both port 80 and port 5432, and serve different
content on each (e.g. a web site from port 80 and the Subversion
repository from port 5432)? The latter can be accomplished by adding
an additional Listen directive for port 5432, and putting the
<Location /svn> block inside a <VirtualHost *:5432> block.
Note that I don't recommend running Apache on port 5432, since port
5432 is reserved for use by PostgreSQL servers:
http://www.iana.org/assignments/port-numbers
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2359927
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-06 09:58:38 CEST