Dear All,
 
Iam presently using BSDI unix. When I am trying to execute the perl scripts on the browser I am not able to execute. 
I went to httpd.conf file and checked for your given below steps for configuring.  But, I was able to see the related configuration steps in
srm.conf file instead of httpd.conf file. i.e., as follows:
 
/var/www/conf/httpd.conf
                    /srm.conf
                    /access.conf
 
Please provide me the steps properly ...I mean to say..... step by step by which I can configure the Unix machine in such a way that I can easily execute the PERL SCRIPTS on the Browser.
 
 
Please help me out.
 
 
Best Regards.,
Abdul Rahman.
 
 
 
 
 
 
----- Original Message -----
Sent: ???????, ????? 04, 2000 8:15 PM
Subject: RE: Executing Perl Scripts on the Web Browser.

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