You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Philip Mak <pm...@aaanime.net> on 2001/05/28 11:17:40 UTC
How to install Apache::ASP when not root?
There's a system that I want to use Apache::ASP on, but I'm not root. I
have my own Apache web server running that I can change the httpd.conf of
(but I can't change the executable).
I know that I can install perl modules in $HOME/lib and set my PERL5LIB
environment variable to allow command line perl scripts to be able to use
those modules.
How can I do this in Apache though? If I just do "PerlHandler Apache::ASP"
it will look in the system library directories, and of course not find
Apache/ASP.pm there. How do I tell Apache to look in $HOME/lib?
-Philip Mak (pmak@aaanime.net)
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
Re: How to install Apache::ASP when not root?
Posted by Joshua Chamas <jo...@chamas.com>.
Philip Mak wrote:
>
> There's a system that I want to use Apache::ASP on, but I'm not root. I
> have my own Apache web server running that I can change the httpd.conf of
> (but I can't change the executable).
>
> I know that I can install perl modules in $HOME/lib and set my PERL5LIB
> environment variable to allow command line perl scripts to be able to use
> those modules.
>
> How can I do this in Apache though? If I just do "PerlHandler Apache::ASP"
> it will look in the system library directories, and of course not find
> Apache/ASP.pm there. How do I tell Apache to look in $HOME/lib?
>
Before the PerlHandler Apache::ASP, have a block like:
<Perl>
use lib qw(/some/perllib/);
</Perl>
You could throw all of your modules in there, not just
Apache::ASP. So you could then start including Apache::ASP
as part of your general application module set.
-- Josh
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks <- Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org