I am trying to use mod_perl with apache (1.22 & 1.3.12, respectively).  

I am having a multitude of problems, and cannot get hello world even working.

I have loaded down & installed a bunch of cpan modules to support this
(libwww-perl & prerequisites.  this solved some things).

as per the mod_perl INSTALL.apaci, I configure mod_perl for later apache
building. (Everything=1, apaci=1, etc), because of 

issue 1.  when configuring, I get a whole bunch of apxs warnings saying
that it cannot find /usr/sbin/httpd.   (this module is not here, this is
not where it will be).   it then warns me about mod_so, which I know I have
compiled in, because of other parms that I use with apache.  is this a
problem?
(i can make & make install).   how do I tell mod_perl where the httpd
module with be?   

issue 2.  If I build apache, I can start it, run it, do all the other
things I do with it.   If I shut it down, and go back to mod_perl's make
test, it blows chunks.  It fails with a syntax error on line 80 of
t/conf/httpd.conf.  Invalid command 'Alias'.  Does this tell me anything
about what is wrong?  The odd thing is that in my "normal" apache config, I
have about 80 name virtual servers, and I specifically load mod_alias &
similar modules.


issue 3.  apache is configured with
--activate-module=src/modules/perl/libperl.a  (as per the INSTALL.apaci).
However, there is no such file.   there are number of items in this
directory, includign libperl.module  the configuration, make, make install
steps do not have any errors however.

issue 4.  It doesnt work.  using the writing apache modules with perl & c
book, I tried to use a "PerlSetEnv" command. (p.28) configtest says this is
okay, but apache crashes upon starting.   If i try to define a location
(p.31), configtest gives me a syntax error on 'PerlHandler'.   Ultimately,
this tells me that something isnt right.  

jr
john riehl
ibucks, inc.

Reply via email to