Thomas,
Try inserting something like what I've indicated below, inline with your
vhost block:
On Sun, July 9, 2006 13:02, Thomas Beale said:
>
> Hi,
>
> I have looked around but not found the answer to the question: how to
> make /robots.txt visible in an apache virtual host config for a
> subversion server. How would I tell Apache to allow requests to read
> /robots.txt given the following configuration? (Or - how can I just
> block robots going into the SVN repositories)?
>
> <VirtualHost 1.2.3.4>
>          ServerAdmin webmaster@xxxx.org
>
>          ServerName svn.xxxx.org
Alias /robots.txt /some/non/svn/path/robots.txt
<Location /robots.txt>
  SetHandler default-handler
</Location>
>
>          <Location />
>                  DAV svn
>                  SVNParentPath /usr/local/var/svn
>
>                  # authorisation
>                  AuthzSVNAccessFile /etc/subversion/access-control
>
>                  # authentication
>                  AuthType Basic
>                  AuthName "development Subversion Repository"
>                  AuthUserFile /etc/subversion/authentication
>
>                  # anonymous access rules
>                  Satisfy Any
>                  Require valid-user
>          </Location>
> </VirtualHost>
That should do it, but be warned I didn't test it before sending it off;
YMMV.
Todd D. Esposito
www.Turtol.com  -- Web Applications and Hosting
Todd@Turtol.com
Todd@ToddEsposito.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 10 01:46:49 2006