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: [EMAIL PROTECTED]
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to