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

RE: Subversion 1.6 and Apache 2.2.11 problems

From: Giulio T <giulio.troccoli_at_uk.linedata.com>
Date: Thu, 9 Apr 2009 15:27:55 +0100

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

________________________________
From: Patricia A Moss [mailto:pmoss4_at_csc.com]
Sent: 09 April 2009 15:08
To: Giulio Troccoli
Cc: 'Ryan Schmidt'; Subversion Users
Subject: RE: Subversion 1.6 and Apache 2.2.11 problems

I have recently build both Apache 2.2.11 and Subversion 1.6.0 (and other dependencies) from source on a RHEL4 systems. This is how I configured them

cd /usr/local/src/httpd-2.2.11
./configure --enable-modules=all --enable-mods-shared=all --enable-authn-dbm --enable-authn-alias --enable-authz-dbm --enable-authnz-ldap --enable-deflate --enable-logio --enable-mime-magic --enable-version --enable-ssl --enable-http --enable-dav --enable-cgi --enable-cgid --enable-dav-fs --enable-dav-lock --enable-vhost-alias --enable-ldap --with-ldap
make
make install
cd /usr/local/src/subversion-1.6.0
./configure --enable-shared --disable-static --with-apxs=/usr/local/apache2/bin/apxs --disable-mod-activation
make
make install

I have now successfully compiled both. My next issue is that there was already a version of apache on the server. Now there are 2 versions, as the compile of the newest source did not upgrade what was currently installed.
I now need figure out where to put the repository conf file so that I don't get the following error when I log in to the repo.
Forbidden

You don't have permission to access /testA on this server.

On the old version of Subversion there is a seperate .conf file for each repository. Say I had the following repositories: testA, testB and testC.
Under /etc/httpd/conf.d/ there were three files testA.conf, testB.conf and testC.conf.
Within each .conf file was the location block specific to that repository:
<Location /testA>
dav svn
SVNPath /home/testA
AuthzSVNAccessFile /var/www/testA-access.conf
AuthzLDAPAuthoritative off
AuthType Basic
AuthBasicProvider ldap
AuthName "CSC Subversion Repository"
AuthLDAPBindDN FCGNET\account-name
AuthLDAPBindPassword password
AuthLDAPURL ldap://dommainname.com:3268/DC=domain,DC=com?samAccountName?sub?(objectC
ategory=person)
Require valid-user
Options Indexes FollowSymLinks
order allow,deny
allow from all
</Location>

So now, for the new install of httpd; do I leave the .conf files under /etc/httpd/conf.d/? I'm thinking not since that is where it currently is and I am getting permission errors.
The /usr/local/apache2/ directory does not have a conf.d subdirectory.
Do I create one and put the .conf file there?
Do I add the location block, for each repository, to the /usr/local/apache2/conf/httpd.conf file?
Do I create the .conf file(s) under /usr/local/apache2/conf/?

PATI MOSS
System Engineer Sr. Professional
CSC

You can add them to the httpd.conf directly or tou can use the /usr/local/apahce2/conf/extra directory to put your configuration file. Then you add a line like

Include conf/extra/subversion.conf

in the httpd.conf file

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1617537

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-09 22:32:44 CEST

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.