httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joy d <j...@hotmail.it>
Subject RE: [users@httpd] Mod_perl and includes
Date Wed, 17 Oct 2007 08:54:24 GMT

use 'PerlRequire' to import a file in apache's startup time.

in this file you import the lib's path.ie,in httpd.conf:

PerlRequire  /opt/apache1.3/mylib/startup.pl

and in startup.pl:

use lib qw(/the/lib/path);

> Date: Tue, 16 Oct 2007 19:21:19 -0400
> From: trice@cisco.com
> To: users@httpd.apache.org
> Subject: [users@httpd] Mod_perl and includes
>
> I'm trying to bring up a server with mod_perl configuration original
> created for an Apache 2.0 server but on an Apache 1.3 server. The
> problem is that "PerlSwitches" isn't available on the mod_perl running
> on the 1.3 server. How can I get this library path included on a 1.3
> server?
>
>
>
> PerlSwitches -I /var/www/foo/bar/lib
> PerlModule BAR
>
> 
> SetHandler modperl
> PerlResponseHandler BAR
> 
>
> Thanks in advance,
> Tony
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See  for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message