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

Re: Error: Server sent unexpected return value (403 Forbidden) in response to OPTIONS

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Fri, 5 Jun 2009 19:10:13 -0500

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=2359875

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-06 02:11:43 CEST

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.