Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-29-2004, 11:19 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 28

Rep: Reputation: 15
Impossible: Installing mod_perl2 w/ Apache2

First of all, please no recommendations to try rpms. I know rpms are generally easier and apt-get is great yadda yadda, but firewalls are blocking ftp so apt-get and perl CPAN aren't options. I'm installing from source. Here's what I did.
cd httpd-2.0.49
./configure --prefix=/usr/local/apache2/ \
--enable-info --enable-headers --enable-so \
--enable-speling --enable-ssl --enable-shared=perl
make install
I added the --enable-shared=perl because nothing else was working, but that also didn't work. This compiled error-free
cd ../mod_perl-1.99_13/
perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
make && make test && make install
also compiled error-free
then I added these lines to the httpd.conf
LoadModule perl_module  modules/

<IfModule mod_perl.c>
 Alias /perl/ /home/httpd/perl/
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
everything compiles error-free and httpd starts just fine; when I check the error logs it says that mod_perl isn't started and if I do the telnet check for mod_perl it also says that mod_perl isn't running.
root@mymachine mod_perl-1.99_13# telnet mymachine 80
Connected to mymachine.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Date: Thu, 29 Jul 2004 15:02:11 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1

Connection closed by foreign host.
Good on ya, if you can figure this out. I've been pounding on it for weeks and still nothing. Cheers, P
Old 07-30-2004, 12:41 PM   #2
LQ Newbie
Registered: Apr 2004
Posts: 28

Original Poster
Rep: Reputation: 15
^^ bump ^^


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing software is impossible with linux... M O L8ingN2dust Linux - Newbie 10 05-25-2005 02:19 AM
Apache2, mod_perl2, HTML::Mason not finding Apache::Request2-2 Silent1 Linux - Software 3 04-30-2005 05:52 PM
Installing Mandrake 10 impossible! stevoo Linux - Hardware 6 10-21-2004 11:53 PM
Installing Software Problem. Easy for you, impossible for me (libpng) tyleradam Linux - Software 7 10-14-2004 02:08 PM
Installing Apache2.0.44 webee Linux - General 2 01-23-2003 04:50 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration