Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Apache Perl CGI environment question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache Perl CGI environment question


This is _exactly_ what I wanted, and I just verified that it works. Thank you!

Hello, all ...
I am sending this to both darwin-dev and darwinos-users because this question kiind of straddles the fence, me thinks. It's a simple one, though.
I have some Perl code that uses the DBD::Pg (PostgreSQL DBI interface) module. This code runs fine under OSX 10.3.7 using mod_perl as long as I add this to httpd.conf:
PerlSetEnv PERL5LIB /sw/lib/perl5/5.8.1/darwin-thread-multi-2level

Just use mod_env in Apache and then in the conf file:

SetEnv PERL5LIB /sw/lib/perl5...



Falling You - exploring the beauty of voice and sound
New album, "Touch", available now

Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 >Apache Perl CGI environment question (From: John Michael Zorko <email@hidden>)
 >Re: Apache Perl CGI environment question (From: "Jeff W. Boote" <email@hidden>)

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.