LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-29-2004, 10:19 AM   #1
pauljtester
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.
Code:
cd httpd-2.0.49
./configure --prefix=/usr/local/apache2/ \
--enable-info --enable-headers --enable-so \
--enable-speling --enable-ssl --enable-shared=perl
make
make install
I added the --enable-shared=perl because nothing else was working, but that also didn't work. This compiled error-free
then
Code:
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
Code:
LoadModule perl_module  modules/mod_perl.so

<IfModule mod_perl.c>
 Alias /perl/ /home/httpd/perl/
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>
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.
Code:
root@mymachine mod_perl-1.99_13# telnet mymachine 80
Trying xxx.xxx.xxx.xxx...
Connected to mymachine.
Escape character is '^]'.
HEAD HTTP / 1.1

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, 11:41 AM   #2
pauljtester
LQ Newbie
 
Registered: Apr 2004
Posts: 28

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


Reply



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 01:19 AM
Apache2, mod_perl2, HTML::Mason not finding Apache::Request2-2 Silent1 Linux - Software 3 04-30-2005 04:52 PM
Installing Mandrake 10 impossible! stevoo Linux - Hardware 6 10-21-2004 10:53 PM
Installing Software Problem. Easy for you, impossible for me (libpng) tyleradam Linux - Software 7 10-14-2004 01:08 PM
Installing Apache2.0.44 webee Linux - General 2 01-23-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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