On Mar 14, 2007, at 13:59, Quang Tran wrote:
> Ryan wrote:
>
>> 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.
>
> 1. So I have added a new <Directory> section for pointing to the new
> location of my repository in NFS /nfsfarm1 as follows:
>
> ...
> <Directory "/var/www/html">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> #
> # Allow reading of /nfsfarm1
> #
> <Directory "/nfsfarm1/www/svn/me">
> #Options Indexes FollowSymLinks
> Options FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> ...
>
> And it still doesn't work.
> Then I've tried to comment out the original section <Directory
> "/var/www/html"> with same result :
FYI: It should be fine to have multiple <Directory> sections, each
enabling access to different directories.
> [svnadmin_at_p1linux142 me]$ svn list 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)
>
> Can you show me how to configure correctly that Directory in
> httpd.conf ?
> What to try next ?
Hmm... Does the Apache error log have anything more useful to say
than that?
> 2. Also here below is the ls -lR of my repository directory
> showhing the
> read/write + ownership :
>
>
> [root@prod141linux /]# find /nfsfarm1/www/svn -exec ls -l {} \;
> total 4
> drwxr-xr-x 7 apache apache 4096 Mar 14 14:14 me
> total 24
> drwxr-xr-x 2 apache apache 4096 Mar 13 21:43 conf
> drwxr-xr-x 2 apache apache 4096 Mar 13 19:05 dav
> drwxr-sr-x 5 apache apache 4096 Mar 13 21:39 db
> -r--r--r-- 1 apache apache 2 Mar 13 19:05 format
> drwxr-xr-x 2 apache apache 4096 Mar 13 19:05 hooks
> drwxr-xr-x 2 apache apache 4096 Mar 13 19:05 locks
> -rw-r--r-- 1 apache apache 229 Mar 13 19:05 README.txt
[snip]
> -rw-r--r-- 1 apache apache 8 Mar 13 21:39 /nfsfarm1/www/svn/me/db/
> current
> -rw-r--r-- 1 apache apache 0 Mar 13 19:05
> /nfsfarm1/www/svn/me/db/write-lock
> -rw-r--r-- 1 apache apache 37 Mar 13 19:05 /nfsfarm1/www/svn/me/db/
> uuid
> -r--r--r-- 1 apache apache 2 Mar 13 19:05 /nfsfarm1/www/svn/me/db/
> format
> -r--r--r-- 1 apache apache 2 Mar 13 19:05 /nfsfarm1/www/svn/me/format
Ownership and permissions look fine, I think... But I am confused
about the fact that /nfsfarm1/www/svn appears to be a repository
(because it contains conf, dav, db, format, hooks, locks,
README.txt), but then it also contains the directory me which is in
itself another repository. This is very unusual. Is the /nfsfarm1/www/
svn repository used for anything? Or are you just using the /nfsfarm1/
www/svn/me repository? If you're using both, they should not be
intertwined like that. If you're only using the me repository, and
there's nothing in the /nfsfarm1/www/svn repository that you want to
keep (you can check the contents of /nfsfarm1/www/svn/db/revs to see
if there are any revisions), you should get rid of conf, dav, db,
format, hooks, locks, README.txt. Otherwise it's quite disorienting.
--
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 Wed Mar 14 21:42:38 2007