Right, I now have a mod-perl enables apache server, however I consider
this a bodge-fix.
What I have:
Server Version: Apache/2.0.39 (Unix) mod_perl/1.99_07-dev Perl/v5.6.1
How I get here:
1) I build apache with:
TARGET=httpd2.mod_perl ./configure --build=i686
--enable-layout=Lucas.mod_perl --enable-mime-magic --enable-expires
--enable-info --enable-cgi --enable-include --enable-negotiation
--disable-userdir --with-program-name=httpd2_mod_perl --with-mpm=prefork
This is fine.
2) I build mod-perl with
perl Makefile.PL MP_DEBUG=1 MP_INST_APACHE2=1
MP_AP_PREFIX=/home/cpan/apache2.mod_perl
This creates a file:
[cpan@lucas apache2.mod_perl]$ ls -l m*
-rwxr-xr-x 1 cpan datalib 1650865 Oct 9 11:08 modules
Thus, I add the following to the end of my .conf file:
#
# Mod_Perl stuff
# ??BODGE??
LoadModule perl_module modules
Now, the mod-perl perl Makefile.pl script ends with:
---- quote ----
*** mod_perl dso library will be built as mod_perl.so
*** mod_perl static library will be built as mod_perl.a
*** You'll need to add the following to httpd.conf:
*** LoadModule perl_module modules/mod_perl.so
---- quote ----
So, why am I building a file called modules, and not a file called
mod_perl.so within a directory called modules?
Yours,
Confused of Edinburgh....
--
--==++
Ian Stuart: Edinburgh University Data Library.
Information is not knowledge
Knowledge is not wisdom
Wisdom is not truth
Truth is not beauty
Beauty is not love
Love is not music
-- Mary.
Personal web site: http://lucas.ucs.ed.ac.uk/