Re: Apache2* and mod_perl2
I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time. It's been pretty stable to date. What exactly are the problems you encountered? Paul Schmehl wrote: Last night I spend several hours trying to get a website working with apache22 and then apache20 and mod_perl2. I never succeeded. This website works fine with apache1.3.* and mod_perl. We run the UBB bulletin board, which is written in perl. All the executable files are named *.cgi. I googled and read document after document, waded through the apache mod_perl site until my eyes were crossed, all to no avail. In apache20, after configuring httpd.conf in what I thought was the right way, I got a Forbidden error. Obviously, I checked perms (even made the 777 briefly), but no go. In apache22, all I ever got was the plain text of the program file. Does anyone know of a website that can unlock the mystery of mod_perl2 on apache2? I figure sooner or later I'm going to have to move to apache2, but I sure can't do that until I figure out how to get it working. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache2* and mod_perl2
--On October 3, 2006 12:53:17 PM +0800 Foo JH [EMAIL PROTECTED] wrote: I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time. It's been pretty stable to date. What exactly are the problems you encountered? I was never able to get cgi working, as I described in the email you responded to (copied below.) Paul Schmehl wrote: Last night I spend several hours trying to get a website working with apache22 and then apache20 and mod_perl2. I never succeeded. This website works fine with apache1.3.* and mod_perl. We run the UBB bulletin board, which is written in perl. All the executable files are named *.cgi. I googled and read document after document, waded through the apache mod_perl site until my eyes were crossed, all to no avail. In apache20, after configuring httpd.conf in what I thought was the right way, I got a Forbidden error. Obviously, I checked perms (even made the 777 briefly), but no go. In apache22, all I ever got was the plain text of the program file. Does anyone know of a website that can unlock the mystery of mod_perl2 on apache2? I figure sooner or later I'm going to have to move to apache2, but I sure can't do that until I figure out how to get it working. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Fw: Re: Apache2* and mod_perl2
Have you try to update your ports tree collection? what is version of your FreeBSD? From: Paul Schmehl [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 03 Oct 2006 00:03:14 -0500 Subject: Re: Apache2* and mod_perl2 --On October 3, 2006 12:53:17 PM +0800 Foo JH [EMAIL PROTECTED] wrote: I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time. It's been pretty stable to date. What exactly are the problems you encountered? I was never able to get cgi working, as I described in the email you responded to (copied below.) Paul Schmehl wrote: Last night I spend several hours trying to get a website working with apache22 and then apache20 and mod_perl2. I never succeeded. This website works fine with apache1.3.* and mod_perl. We run the UBB bulletin board, which is written in perl. All the executable files are named *.cgi. I googled and read document after document, waded through the apache mod_perl site until my eyes were crossed, all to no avail. In apache20, after configuring httpd.conf in what I thought was the right way, I got a Forbidden error. Obviously, I checked perms (even made the 777 briefly), but no go. In apache22, all I ever got was the plain text of the program file. Does anyone know of a website that can unlock the mystery of mod_perl2 on apache2? I figure sooner or later I'm going to have to move to apache2, but I sure can't do that until I figure out how to get it working. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ -- James G. Corteciano FreeBSD User ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache2* and mod_perl2
Last night I spend several hours trying to get a website working with apache22 and then apache20 and mod_perl2. I never succeeded. This website works fine with apache1.3.* and mod_perl. We run the UBB bulletin board, which is written in perl. All the executable files are named *.cgi. I googled and read document after document, waded through the apache mod_perl site until my eyes were crossed, all to no avail. In apache20, after configuring httpd.conf in what I thought was the right way, I got a Forbidden error. Obviously, I checked perms (even made the 777 briefly), but no go. In apache22, all I ever got was the plain text of the program file. Does anyone know of a website that can unlock the mystery of mod_perl2 on apache2? I figure sooner or later I'm going to have to move to apache2, but I sure can't do that until I figure out how to get it working. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Apache2* and mod_perl2
Paul Schmehl wrote: Does anyone know of a website that can unlock the mystery of mod_perl2 on apache2? I figure sooner or later I'm going to have to move to apache2, but I sure can't do that until I figure out how to get it working. Can you follow the procedure on this page and get the rocks.pl script to work either as a registry script or as a handler? http://perl.apache.org/docs/2.0/user/intro/start_fast.html If those work, then there's no great systemic problems with your mod_perl2 setup. There's a fairly big section on troubleshooting on that site which would probably be helpful: http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Apache2 and mod_perl2
I have just installed FreeBSD 4.9 and am having problems with Apache2 and mod_perl2. I used the ports, which was updated immediately after install, and did a 'make install clean' for both apache2 and mod_perl2, more specifically apache-2.0.48_2 and mod_perl2-1.99r12. I have not gotten fancy yet and have only included the following lines in my httpd.conf for mod_perl2: LoadModule perl_module libexec/apache2/mod_perl.so PerlModule Apache2 The problem is that when I do '/usr/local/etc/rc.d/apache2.sh start' the machine just hangs, for a long time (4-8 minutes), before apache finally comes up. I checked the logs and there aren't any negative entries. I recently had to down system to move it, upon reboot it hung for 45 minutes before I had to kill the 'apache.sh start/apachectl start/httpd -k start' processes. When I say hung I don't mean the entire system, just the startup processes of apache2. I have slightly older versions on a 4.8 box that was installed identically to what was described here and all is fine. Any ideas? Thanks, -Randy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]