Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: how do i configure apache webserver to run perl scripts

by taint (Chaplain)
on Apr 19, 2013 at 19:56 UTC ( [id://1029574]=note: print w/replies, xml ) Need Help??


in reply to how do i configure apache webserver to run perl scripts

Another thing to consider is simply telling Apache to consider .html files as being peppered with perl code:
AddOutputFilter Includes html
To use the above, you must also include Includes in the Options section of your httpd.conf file.
Options Indexes Includes etc...
This way, you may include perl modules, or bits of perl code you'd like to exec, much as you would with the more commonly used extension: .shtml. In fact you could invent any extension you like -- .perl5, for example.

HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-18 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found