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

Re: ViewVC doesn't work when the repository is created out of /var/www

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-13 22:54:51 CET

On Mar 13, 2007, at 16:11, Quang.Tran@sita.aero wrote:

[snip]

> <Location /me>
> DAV svn
> SVNPath /nfsfarm1/www/svn/me
> AuthzSVNAccessFile /etc/svn-access
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /etc/svn-passwd
> Require valid-user
> </Location>

[snip]

> [svnadmin_at_p1linux142 Import]$ svn list -R http://10.4.14.141/me
> svn: PROPFIND request failed on '/me'
> svn: PROPFIND of '/me': 500 Internal Server Error (http://10.4.14.141)

Have you configured Apache to allow reading of /nfsfarm1? By default,
Apache is configured very restrictively, so that it can only access
those areas of the hard drive that an administrator has deemed
necessary. For example, Apache is probably configured to allow you to
read out of /var/www.

Look in your httpd.conf for sections like this:

#
# Each directory to which Apache has access can be configured with
respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
     Options FollowSymLinks
     AllowOverride None
     Order deny,allow
     Deny from all
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www">
     #
     # Possible values for the Options directive are "None", "All",
     # or any combination of:
     # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
     #
     # Note that "MultiViews" must be named *explicitly* --- "Options
All"
     # doesn't give it to you.
     #
     # The Options directive is both complicated and important.
Please see
     # http://httpd.apache.org/docs/2.2/mod/core.html#options
     # for more information.
     #
     Options Indexes FollowSymLinks

     #
     # AllowOverride controls what directives may be placed
in .htaccess files.
     # It can be "All", "None", or any combination of the keywords:
     # Options FileInfo AuthConfig Limit
     #
     AllowOverride None

     #
     # Controls who can get stuff from this server.
     #
     Order allow,deny
     Allow from all
</Directory>

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 13 22:55:11 2007

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.