perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: Making .pm files run.
Date Mon, 15 Jan 2007 23:11:50 GMT
On Mon, 2007-01-15 at 14:31 -0800, iNetForce wrote:
>  Alias /go/ /usr/home/httpd/domains/

This is probably not what you want.  Perl doesn't look for modules based
on the URL, it looks for them in @INC.  You need to put this module
somewhere that is in your @INC, or else add this directory to @INC.
Sometimes people add it putting a "use lib" statement in their conf
file, like this:

  use lib '/path/to/my/modules';

You don't need the Alias.  The Location block handles routing requests
to the module Recipe, so you just have to help perl find the file by getting the file into a path that's in @INC.

- Perrin

View raw message