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

rusty razorblade - part 1

From: Mike Dewhirst <miked_at_dewhirst.com.au>
Date: 2005-03-07 04:48:38 CET

I'm trying to get subversion happening with Apache2 on a SuSE 9.1 machine
but have run into a (mental) block.

Reading chapter 6 of the svn-book it says Apache2 needs ...

        LoadModule dav_module modules/mod_dav.so
        LoadModule dav_svn_module modules/mod_dav_svn.so

Both of these .so files are in /usr/lib/apache2so that isn't a problem. The
problem is figuring out where to nominate them in the Apache config stream.

Chapter 6 says /etc/apache2.httpd.conf but that file doesn't appear to do
so directly. Instead it nominates (on my system)
/etc/apache2/sysconfig.d/loadmodule.conf.

I though this might be the spot until I read the warning at the top

<snipped from /etc/apache2/sysconfig.d/loadmodule.conf>
#
# Files in this directory are created at apache start time by
/usr/sbin/rcapache2.
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
LoadModule access_module /usr/lib/apache2-prefork/mod_access.so
   .. blah
LoadModule cgi_module /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib/apache2-prefork/mod_dir.so
   .. blah
LoadModule userdir_module /usr/lib/apache2-prefork/mod_userdir.so
#
</snipped>

... so I looked at /usr/sbin/rcapache2 which is a bash script and it calls
usr/share/apache2/get_module_list

usr/share/apache2/get_module_list is also a bash script which calls
/etc/sysconfig/apache2/load_configuration before writing out the above
snipped loadmodule.conf file

The /etc/sysconfig/apache2/load_configuration script points to
/etc/sysconfig/apache2 which is apparently NOT the main apache
configuration file. That honour is reserved for /etc/apache2/httpd.conf
nominated in Chapter 6.

I started writing this email to beg for assistance or a rusty razorblade so
I could end it all peacefully. However, I chanced upon a space-separated
list of modules in /etc/sysconfig/apache2 and I quietly inserted dav
followed by dav_svn in that list - in the correct alphabetic sequence.

Now my task is to go back to Chapter 6 and see what has to be done next.

So this email is now really a progress report. I'll let you know how I make
out with the rest later. I can feel a whinge coming on so I'd better get
back to work.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 04:52:56 2005

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.