Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

How to install Apache::ASP when not root?

 

 

ModPerl asp RSS feed   Index | Next | Previous | View Threaded


pmak at aaanime

May 28, 2001, 2:17 AM

Post #1 of 2 (1376 views)
Permalink
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 [at] aaanime)


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl


joshua at chamas

May 28, 2001, 1:27 PM

Post #2 of 2 (1340 views)
Permalink
Re: How to install Apache::ASP when not root? [In reply to]

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 [at] perl
For additional commands, e-mail: asp-help [at] perl

ModPerl asp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.