Hi Per, I did get my Apache to work w/ mod_perl only by using the following configurations:
mod_perl-1.26 perl Makefile.PL \ USE_APXS=1 \ WITH_APXS=/usr/local/apache/bin/apxs \ EVERYTHING=1 apache_1.3.23 configure \ --enable-module=info \ --enable-module=status \ --activate-module=src/modules/perl/libperl.a \ --enable-module=perl \ --prefix=/usr/local/apache My home page loads into the browser and when I try to link to a .pl page in /perl/ where SetHandler perl-script PerlHandle Apache::Registry it loads fine. One problem is that when I try to link to an ordinary html page in /perl/ I get an error: <head> <title>Mod_perl</title> </head> <body> <center>Hello World</center> </body Not quite sure why. (Any ideas). Now I guess I will begin the arduous task of trying to install SSL, PHP, JSP, webapps additionally. Any advice. Thanks. John Kolvereid --- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote: > At 12:32 30.03.2002, John Kolvereid wrote: > >Hi Perrin, > > When I get rid of the LoadModule line I can't > load > >Apache - it complains of <Perl>. Also the hello.pl > >does work w/ plain CGI-Perl I tried that right > away. > >It just doesn't work w/ mod_perl. I am stumped and > am > >probably going to give up shortly - thank anyways. > > That's because you haven't compiled it statically. > Try starting with a > clean build: only mod_perl, build it statically, add > only minimal extra > configuration, and test that. > > > >--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > Sorry you're having so much trouble with the > > > install. It goes pretty > > > smoothly for most people, but you are > complicating > > > things a bit by > > > putting PHP and SSL in the mix on your first > try. > > > > > > > Perrin, I have no idea if DSO is still > involved > > > > > > Apache will not build DSO unless you tell it to. > > > > > > Your build routine looks fine to me. I do the > same > > > except I don't > > > usually build in mod_ssl, and it works. > > > > > > > After I install the apache server I check > the > > > > httpd.conf. In it are 2 key lines: > > > > > > > > LoadModule perl_module > libexec/libperl.so > > > > AddModule mod_perl.c > > > > > > Get rid of your old conf file. You don't want > any > > > of that > > > LoadModule/AddModule junk at all in a static > server. > > > That's DSO-only. > > > (Anyone know if mod_ssl somehow forces you to > use > > > DSO?) > > > > > > > However, when I try to browse my hello.pl > > > > file (from Apache Modules w/ Perl & C, pp > 42-4) it > > > > displays it as text rather than an html page. > > > It's as > > > > if the Options ExecCGI were not applied. > > > > > > That script should work under CGI as well. Does > it? > > > Did you remember > > > to make it executable? > > > > > > I'm afraid I'm not that much help with install > > > problems because I just > > > haven't had any of my own to deal with. You can > try > > > using Apache > > > Toolbox to do the build. It's supposed to make > this > > > stuff easier. If > > > it seems hopeless, you could always check out > > > SpeedyCGI, which gives a > > > similar speedup for perl CGI scripts bu does not > > > require apache to be > > > recompiled. It doesn't give you access to the > full > > > range of mod_perl > > > tools, but it may be all you need in this case. > > > > > > - Perrin > > > > > > > > > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! Greetings - send holiday greetings for > Easter, Passover > >http://greetings.yahoo.com/ > > -- > Per Einar Ellefsen > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/