Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9E7E98D1 for ; Fri, 1 Jun 2012 10:56:27 +0000 (UTC) Received: (qmail 98490 invoked by uid 500); 1 Jun 2012 10:56:27 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 98448 invoked by uid 500); 1 Jun 2012 10:56:26 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 98431 invoked by uid 99); 1 Jun 2012 10:56:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 10:56:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 10:56:18 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id q51AtuDn021856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Jun 2012 12:55:56 +0200 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.5/8.14.3) with ESMTP id q51AtuPa022444; Fri, 1 Jun 2012 12:55:56 +0200 (CEST) Received: (from stsp@localhost) by ted.stsp.name (8.14.5/8.14.3/Submit) id q51AtuO6023184; Fri, 1 Jun 2012 12:55:56 +0200 (CEST) Date: Fri, 1 Jun 2012 12:55:56 +0200 From: Stefan Sperling To: Masaru Kitajimam Cc: users@subversion.apache.org Subject: Re: Problem in connecting the server Message-ID: <20120601105556.GD517@ted.stsp.name> Mail-Followup-To: Masaru Kitajimam , users@subversion.apache.org References: <26B9E4FB-D63A-4BD3-A04A-4ED010A603E5@prime-kobo.com> <20120531091200.GC26854@ted.stsp.name> <611f148c-d754-4043-b29e-510f1f164ccc@f8g2000pbf.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <611f148c-d754-4043-b29e-510f1f164ccc@f8g2000pbf.googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 On Thu, May 31, 2012 at 10:46:08PM -0700, Masaru Kitajimam wrote: > Hi, Stefan > I looked /var/log/httpd/access_log and found an error. > > XXX.XXX.XXX.XXX - kitajima [30/May/2012:16:14:26 +0900] "GET /svn/ > project1 HTTP/1.1" 301 249 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X > 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/ > 534.57.2" > > This looks like that /svn/project1 is moved permanently. But, /var/lib/ > svn/project1 does exist.(In subversion.conf, I define "SVNParentPath / > var/lib/svn"). > > In the error_log, I found the line > [Thu May 31 16:51:38 2012] [error] [client XXX.XXX.XXX.XXX] Could not > fetch resource information. [301, #0] > [Thu May 31 16:51:38 2012] [error] [client XXX.XXX.XXX.XXX] Requests > for a collection must have a trailing slash on the URI. [301, #0] > > I tried again with slash at the end of the svn URI, but it didn't work > and showed the same error message. > > Can you find any information? This looks like a HTTPD configuration problem, or a problem with the repository URL you're trying to use. Do you have a RedirectMatch anywhere in your config that misroutes requests to the /svn location? (In case your configuration is split across several files, do not just check the svn.conf file -- the *entire* httpd config needs to be considered). In your earlier post, http://svn.haxx.se/users/archive-2012-05/0295.shtml, you said this: And I created repository as below: # mkdir -p /var/lib/svn/ # svnadmin create /var/lib/svn/project # chown -R apache:apache /var/lib/svn/project Now you're showing logs that say you're accessing '/svn/project1', not '/svn/project'. Are you sure you are using the correct URL? Does the URL you use to access the repository work in a web browser?