Compiling Apache From the Source Tar File

Synopsis:

I had to re-compile apache to include a mod for authenticating against a MySQL table.
The base compile put Apache into /usr/local/Apache and I needed the base directory
to match what I already have in Slackware 8.0 (with the config in /etc/httpd and the
base dir in /var/www).

Apache uses a layout file (config.layout) so it can be built on different platforms.
But, the layouts didn't match what I needed. So I created this one below.


#   slackware path layout
<Layout Slackware> prefix: /usr exec_prefix: $prefix bindir: $prefix/bin sbindir: $prefix/sbin libexecdir: $exec_prefix/libexec mandir: $prefix/man sysconfdir: /etc+ datadir: /var/www iconsdir: $datadir/icons htdocsdir: $datadir/htdocs manualdir: $htdocsdir/manual cgidir: $datadir/cgi-bin includedir: $prefix/include/apache localstatedir: /var runtimedir: $localstatedir/run logfiledir: /var/log/apache proxycachedir: $localstatedir/cache/proxy </Layout>






Terra Firma Software Solutions, Inc.