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
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1618031
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-09 23:15:07 CEST