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

Re: Apache and Subversion give bad request on checkout

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-05-06 19:28:26 CEST

OK - so maybe I see where I might have messed up my explanation. My
apologies.

The SVNPath directive should be the absolute path to a single
repository. (e.g /my/path/my_repos)

The SVNParentPath should sit one level above the actual repositories
(e.g. if the repository is /my/path/my_repos1 and /my/path/repos2, then
SVNParentPath should be set to /my/path).

In your case, it appears that you do want to use more than one
repository (sycamore and crmweg). So you will use SVNParentPath
"c:\dev\codebase\cds"

If you need to put multiple levels inside of your Location directive for
other reasons, great. I normally serve my SVN project right off the web
root (<Location /repos>)

Regards,
Frank

Célio Cidral Junior wrote:

>Apache, Subversion and the repository are all running locally in my
>machine. There's a proxy in my network, but it should not affect
>anything (I think so) because I'm checking out also from my machine.
>
>I'm using Windows XP, and the firewall is disabled. I installed Apache
>and Subversion on a Windows 2000 virtual server to see if it would
>work, but the problem happens there too.
>
>In mm previous message, I sent the httpd.conf file. Feel free to take
>a look at it and see if you find some misconfiguration. I'm just
>newbie to Apache
>
>2005/5/6, Gary Thomas <gary@mlbassoc.com>:
>
>
>>On Fri, 2005-05-06 at 13:07 -0300
>>
>>I experienced exactly this same thing yesterday. Is there a web proxy
>>between you and the server? If so, it may be responsible for this
>>error.
>>
>>
>>
>>>Celio
>>>
>>>2005/5/6, Frank Gruman <fgatwork@verizon.net>:
>>>
>>>
>>>>Is your repository located at c:/dev/codebase, or at c:/dev/codebase/cds??
>>>>
>>>>You have set the SVNParentPath as c:\dev\codebase, which means it looks for
>>>>the repository right at that level, not another level down...
>>>>
>>>>You need to do one of two things:
>>>>
>>>>Two Options:
>>>>
>>>>1. Change your repository location to be directly in the codebase folder,
>>>>or
>>>>
>>>>2. Get rid of the SVNParentPath and use SVNPath and point to the cds
>>>>directory.
>>>> If you have multiple repositories spread across different directories,
>>>>you can have multiple <Location> directives (with unique names, of course).
>>>>
>>>>Give it a whirl.
>>>>
>>>>Regards,
>>>>Frank
>>>>
>>>>
>>>>Célio Cidral Junior wrote:
>>>>I changed the slashes, but it's not working yet. It seems that Apache
>>>>
>>>>
>>>is not
>>>
>>>
>>>>allowing requests like REPORT and MKACTIVITY. I can browse the
>>>>
>>>>
>>>repository
>>>
>>>
>>>>via web browser, so it's accepting GET requests. It's
>>>>
>>>>
>>>strange because I'm
>>>
>>>
>>>>loading the dav and svn_dav modules in the config
>>>>
>>>>
>>>file. Anyway, I'm not an
>>>
>>>
>>>>Apache guy so I'm pleased if some Apache
>>>>
>>>>
>>>experienced folk could help me on
>>>
>>>
>>>>this issue.
>>>>
>>>>
>>>C:\>svn mkdir
>>>
>>>
>>>>http://brjgs734.weg.net/repositories/cds/sycamore/temp
>>>>
>>>>
>>>-m
>>>
>>>
>>>>"Testing"
>>>>
>>>>
>>>svn: MKACTIVITY of
>>>
>>>
>>>>'/repositories/cds/!svn/act/8beb94c9-a68b-af41-b1e5-46221d28
>>>>
>>>>
>>>11c':
>>>
>>>
>>>>400 Bad Request (http://brjgs734.weg.net)
>>>>
>>>>
>>>Thanks!!
>>>
>>>Celio
>>>
>>>
>>>2005/5/6, Peter
>>>
>>>
>>>>McNab <mcnab_p@melbpc.org.au>:
>>>>
>>>>
>>>>Célio Cidral Junior wrote:
>>>>
>>>>
>>>
>>>
>>>>Hello!
>>>>
>>>>
>>>I installed Apache and Subversion on my machine, and configured
>>>
>>>
>>>>them
>>>>
>>>>
>>>exactly as the book tells about configuration of the server. But
>>>
>>>
>>>>the
>>>>
>>>>
>>>server gives me the error below when I try to checkout. Note
>>>
>>>
>>>>that
>>>>
>>>>
>>>everything is on my machine, so there is no proxy or firewalls on
>>>
>>>
>>>>the
>>>>
>>>>
>>>way.
>>>
>>>C:\>svn list
>>>
>>>
>>>>http://m195601.weg.net/repositories/cds/sycamore
>>>>
>>>>
>>>trunk/
>>>
>>>C:\>svn
>>>
>>>
>>>>checkout http://m195601.weg.net/repositories/cds/sycamore
>>>>sycamore
>>>>
>>>>
>>>svn: REPORT request failed on
>>>
>>>
>>>>'/repositories/cds/!svn/vcc/default'
>>>>
>>>>
>>>svn: REPORT of
>>>
>>>
>>>>'/repositories/cds/!svn/vcc/default': 400 Bad
>>>>Request
>>>>
>>>>
>>>(http://m195601.weg.net)
>>>
>>>The httpd.conf is configured pretty much
>>>
>>>
>>>>this way:
>>>>
>>>>
>>>LoadModule dav_module modules/mod_dav.so
>>>LoadModule
>>>
>>>
>>>>dav_svn_module modules/mod_dav_svn.so
>>>>
>>>>
>>>LoadModule authz_svn_module
>>>
>>>
>>>>modules/mod_authz_svn.so
>>>>
>>>>
>>><Location /repositories>
>>> DAV svn
>>> SVNParentPath
>>>
>>>
>>>>c:/dev/codebase
>>>>
>>>>
>>></Location>
>>>
>>>Can someone point me out to what can be
>>>
>>>
>>>>wrong?
>>>>
>>>>
>>>Thanks in advance!
>>>
>>>
>>>
>>>
>>>
>>>>If thats a windows box then you need backslashes \ not / .
>>>>c:\dev\codebase
>>>>
>>>>
>>>Peter
>>>
>>>---------------------------------------------------------------------
>>>To
>>>
>>>
>>>>unsubscribe, e-mail:
>>>>users-unsubscribe@subversion.tigris.org
>>>>
>>>>
>>>For additional
>>>
>>>
>>>>commands, e-mail: users-help@subversion.tigris.org
>>>>
>>>>
>>>
>>>
>>>
>>--
>>------------------------------------------------------------
>>Gary Thomas | Consulting for the
>>MLB Associates | Embedded world
>>------------------------------------------------------------
>>
>>
>>
>>
>
>
>
>
Received on Fri May 6 19:35:51 2005

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.