Apache mod_perl Problem ? Help!

bscott at ntisys.com bscott at ntisys.com
Mon Dec 23 09:42:26 EST 2002


On Mon, 23 Dec 2002, at 6:18am, vince_mchugh at yahoo.com wrote:
> Problem: There are two contact forms on the web site.
> THAT ARE NOT WORKING!

  And his Shift key is stuck, too.  ;-)

  Seriously, the first thing to do when you encounter an error (ever) is to
check the logs to see what is going on.  Linux is very good about logging
errors.  The Apache error log, on a Red Hat-ish system, is typically
</var/log/httpd/error_log>.

> Apache 1.3.12 8/23/00 -  mod_perl IS NOT compiled in!
> perl 5.6.0
> Red Hat Linux (Kernel 2.2.16-22SMP on the ALR server
> in NECS' computer room.
> 
> How do we re-compile the www.necs.biz apache to
> include mod_perl ????

  Wow, now his [?] key is stuck.  This guy needs a new keyboard.  ;-)

  If these really are CGI forms (i.e., a plain old executable script sitting
in a directory somewhere, which Apache invokes), mod_perl will not be
involved.

  But anyway: Is he using the Apache RPM packages that come with Red Hat
Linux?  If so, he needs to install the "mod_perl" package.  Make sure the
Apache config file (typically /etc/httpd/conf/httpd.conf) has directives
mentioning mod_perl as well.

  He should also install the latest Red Hat errata updates for the system.  
I don't know exactly what release of Red Hat Linux he is running, but I do
know kernel 2.2.16 is not current for any of them.

  (Just kidding about the keyboard remarks, BTW.)

  Hope this helps,

-- 
Ben Scott <bscott at ntisys.com>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |





More information about the gnhlug-discuss mailing list