On 04-Sep-00 ABDUL RAHMAN....... wrote:
>Dear All,
>
>Can any body say me how to execute perl scripts on the web server apache.
 What are the 
>configuration steps required to configure to execute the perl scripts on
the any browsers.
>
>Please send me the steps if any body knows.
>
>
>Abdul Rahman.

Hi,

You'll need a directory in which you'll put your scipts (usually : cgi-bin)

In httpd.conf, you have to modify the lines ScriptAlias :
        ScriptAlias /cgi-bin/ /my/path/to/cgi-bin/ 

the location lines :
<Location /cgi-bin>
        SetHandler perl-script
        PerlHandler Apache::Registry
        Options +ExecCGI
</Location>

and the Directory lines
<Directory "/my/path/to/cgi-bin">
        Options ExecCgi
        AllowOverride AuthConfig FileInfo Indexes Limit Options
    Order allow,deny
    Allow from all
</Directory>   

This works for me.

Take a look at the docs on the Apache website

Hope this helps

Steph
Dear All,
 
Can any body say me how to execute perl scripts on the web server apache.  What are the
configuration steps required to configure to execute the perl scripts on the any browsers.
 
Please send me the steps if any body knows.
 
 
Abdul Rahman.

Reply via email to