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

Re: Subversion, Apache and VirtualHosts

From: Johan Chaves Saborío <johann04_at_gmail.com>
Date: 2007-03-08 22:47:05 CET

Here goes our configuration, subversion is working fine but when I try do
make a COPY I get the following error:

COPY of file.name: 400 Bad Request(https://svn.my.host)

Under Debian:

****** /etc/apache2/sites-available/svn.my.host ******

<VirtualHost *:443>
        #Activate SSL
        SSLEngine on

        #certificado
        SSLCertificateFile /etc/apache2/ssl/server.crt
        SSLCertificateKeyFile /etc/apache2/ssl/server.key

        #VirtualHost Servername
        ServerAdmin localhost@svn.my.host
        ServerName svn.my.host

        #DocumentRoot /var/www/apache2-default/
        DocumentRoot /home/repositorio

        <Location />
                DAV svn

                #Subversion
                SVNParentPath /home/repositorio/svn/
                SVNListParentPath On
                SVNAutoVersioning On

               #Authentication
                AuthType Basic
                AuthName "subversion"
                AuthUserFile /home/repositorio/.htpasswd
                Require valid-user
        </Location>

        #crear log de svn en /var/log/apache2/
        CustomLog /var/log/apache2/svn_logfile "%t %u %{SVN-ACTION}e"
env=SVN-A
        #fin crear log de svn

        <LocationMatch "/.+">
                #Subversion permission file
                AuthzSVNAccessFile /home/repositorio/svn/.htpasswd
        </LocationMatch>
</VirtualHost>

On 2/26/07, Matt Sickler <crazyfordynamite@gmail.com> wrote:
>
> A better way to get it solved would be to post your and the relevant error
> messages so we can help you fix it.
>
> On 2/26/07, Johan Chaves Saborío < johann04@gmail.com> wrote:
> >
> > Hi,
> >
> > We are having some problems with our subversion installation,
> > particularly with de COPY method.
> >
> > Reading the svn-book it seems an apache configuration problem related to
> > virtual hosts and the server name.
> >
> > Can anybody point me to a configuration example using apache2 and
> > virtual hosts?
> >
>
>
Received on Thu Mar 8 22:47:43 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.