Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: apache2 + mod_perl 1.99_11 + failed to resolve handler

by hsinclai (Deacon)
on Jun 09, 2004 at 14:16 UTC ( [id://362735]=note: print w/replies, xml ) Need Help??


in reply to apache2 + mod_perl 1.99_11 + failed to resolve handler

<Location bla> specifies a "Path" or "URLpath", however you've got a file specification /bla/*.pl.. try changing to
<Location /path/>

Have in your apache config the file extensions allowed for cgi execution, e.g.
AddHandler cgi-script .cgi .pl


Finally make sure your Alias line to /var/www/localhost/perl/ is right, complete with ending slash correctness. The alias to your perl directory for CGIs should probably not be a subdirectory of your document root... you can operate a Alias/<Location bla/> combo outside of the Apache filesystem..

Replies are listed 'Best First'.
Re^2: apache2 + mod_perl 1.99_11 + failed to resolve handler
by primus (Scribe) on Jun 09, 2004 at 15:10 UTC

    you were right about the path. however it did work with the *.pl, all i had to do was give a full path... /var/www/localhost/perl/*.pl.

    thank you very much for the help!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://362735]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-18 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found