- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- enabling perl on bin dist. of apache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 11:48 PM
07-28-2003 11:48 PM
I'm having trouble enabling my apache server to run perl scripts.
I've installed an HP bin distribution of apache, available from:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXWSSUITE
(os is HP-UX11.11)
I've uncommented (in /opt/hpws/apache/conf/httpd.conf) the lines referring to perl:
LoadModule cgi_module
LoadModule perl_module
PerlModule ModPerl::Registry
PerlModule Apache::Server
But starting my apache now sends back the following error message:
Can't locate warnings.pm in @INC
Is there anything I can do to add mod_perl to my precompiled apache, or should I just compile apache myself and forget about the bin dist. ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 12:02 AM
07-29-2003 12:02 AM
Re: enabling perl on bin dist. of apache
This would include Perl itself (do read the README.hpux and special remarks concerning mod_perl usage), apache, and mod_perl.
As far as globals are concerned I think you have to be careful to reinitialize them.
But I have almost none mod_perl hacking experience to give any advice here.
I'm sure Merijn can help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 10:12 AM
08-05-2003 10:12 AM
Re: enabling perl on bin dist. of apache
I would recommend building a new perl, mod_ssl, mod_perl, and apache from source, but probably not necessary. The HP depot should support mod_perl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 11:08 PM
08-05-2003 11:08 PM
Re: enabling perl on bin dist. of apache
I ended up just bulding apache from scratch myself and had no particular problems.
Guess it serves me right for trusting bin dist's and not building everything myself, the true open-source way..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:17 AM
08-06-2003 05:17 AM
SolutionTake a look at this link. Hope it helps.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062684365
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:26 PM
08-06-2003 12:26 PM
Re: enabling perl on bin dist. of apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 01:54 AM
08-07-2003 01:54 AM
Re: enabling perl on bin dist. of apache
using HP's bin dist. of apache, I was able to use perl by following the directions in the link you gave. Although, some options were somewhat different, probably because I was using a different version of distribution (apache 2, etc.).
this is what I had in the modules section:
PerlModule ModPerl::Registry
PerlModule Apache::Server
SetHandler perl-script
PerlHandler ModPerl::Registry::handler
Options +ExecCGI
PerlOptions +ParseHeaders
and I had to leave this line commented, unlike what the directions were:
#LoadModule perl_module modules/mod_perl.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 01:55 AM
08-07-2003 01:55 AM
Re: enabling perl on bin dist. of apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 02:27 PM
08-07-2003 02:27 PM
Re: enabling perl on bin dist. of apache
This is because the mod_perl module has a hard dependency upon the Perl that it is built with. Please refer to the release notes for HP-UX Apache-based Web Server for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 02:32 PM
08-07-2003 02:32 PM
Re: enabling perl on bin dist. of apache
#LoadModule perl_module modules/mod_perl.so
you are no longer uisng mod_perl, all your .pl
files are run as cgi scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2003 08:18 AM
08-11-2003 08:18 AM