| Davide Bianchi 2007-01-26, 7:23 am |
| On 2007-01-25, JM <reply@group.svp> wrote:
> 1. How do I check if mod_perl is installed ?
Check the configuration file if mod_perl is loaded at runtime.
> 2. How do I install mod_perl ?
Download the package for your distribution and follow the instructions
> 3. What about cgi-bin directory ?
What about it?
> One per server or one per website ?
As you prefer, I prefer to keep things separated for VHost, so I have a
cgi-bin dir for each vhost and eventually, some 'special' application with
his own directory with cgi-bin functionality.
> How to configure ?
ScriptAlias /where-you-want-it/ /where/is/the/directory/
<Directory "/where/is/the/directory">
Options ExecCGI
...other directives as required...
</Directory>
In the VHost or in the main configuration.
> 4. Is there something else that I should do to use PERL scripts ?
Be sure that the script begin with #!/where/is/your/perl and that
running the script from the command line works.
Davide
--
Breaking Windows isn't just for kids anymore...
|