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

Re: Subversion: via Apache

From: Andy Levy <andy.levy_at_gmail.com>
Date: Sun, 17 Jul 2011 22:41:25 -0400

On Sun, Jul 17, 2011 at 22:29, Andy Canfield <andy.canfield_at_pimco.mobi> wrote:
> I removed the <Location /svn> block. No, Apache does not function.
>
> telnet hk.pimco.mobi 80
> Trying 202.181.201.137...
> Connected to hk.pimco.mobi.
> Escape character is '^]'.
> HEAD / HTTP/1.0
> (pressed Enter twice)
> Connection closed by foreign host.
>
> In my last message I did not include the Apache version number; the output
> of '/usr/sbin/httpd -v' is:
>     Server version: Apache/2.2.14 (Unix)
>     Server built:   Feb 10 2010 22:22:39
> Is there any way to check the version number of the SVN modules if they are
> not working?

If Apache isn't working at all with your <Location> block ripped out,
then the problem is the modules themselves.

Rather than trying to figure out what versions you have now, just
remove what you have & replace with a version compiled with an APR
version that matches your Apache installation. If you installed both
Subversion & Apache via your distro's packaging system, this should
have all been taken care of for you.

> On 07/17/2011 08:15 PM, Andy Levy wrote:
>
> Strip your httpd.conf.subversion down to ONLY load the modules. Do not
> include the <Location /svn> block. Does Apache function? Telnet to
> hk.pimco.mobi on port 80 and enter the following:
>
> HEAD / HTTP/1.0
>
> Then ENTER twice. You should get an HTTP/1.1 200 OK response (see
> http://tonycode.com/wiki/index.php?title=Making_HTTP_requests_via_telnet
> for more details on this).
>
> If this doesn't work, then you likely have a difference between the
> version of Apache you're running and the SVN modules. They need to be
> built using the same version of APR, IIRC.
>
>
Received on 2011-07-18 04:42:45 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.