> Aaron Slepecky wrote:
> 
> Sorry for the newbie question but I cannot find anyone to help me.  I have 
>everything installed and loaded but everytime I try to put the following
> into my httpd.conf (and access.conf):
> 
> <Location /asp/>
> SetHandler perl-script
> PerlHandler Apache::ASP
> PerlSetVar Global/tmp
> </Location>
> 
> I get this error:  Invalid command 'PerlHandler', perhaps mis-spelled or defined by 
>a module not included in the server configuration.  I re-ran the
> installation from scratch and installed all of the latest updates from Perl to all 
>the modules that are required and requested.  What am I missing?
> Sorry for such a simple question on the mailing list but I don't know where all the 
>resources are for this YET!  Thanks!
> 

>From http://www.nodeworks.com/asp/faq.html
(also FAQ section of 'perldoc Apache::ASP')

Apache errors on the PerlHandler directive ?

You do not have mod_perl correctly installed for Apache. 
The PerlHandler directive in Apache *.conf files is an extension 
enabled by mod_perl and will not work if mod_perl is not 
correctly installed. 

Common user errors are not doing a 'make install' for mod_perl, 
which installs the perl side of mod_perl, and not starting the 
right httpd after building it. The latter often occurs when you 
have an old apache server without mod_perl, and you have built a
new one without copying over to its proper location. 

If you haven't installed mod_perl, check out http://perl.apache.org

You will also want to put a space between Global & /tmp :)

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to