Dear
 
 Matt Segeant,
 
I was not able to see ScriptAlias File. Where as the file is present in srm.conf file.  Please let me know wether I should add line configuration lines in httpd.conf or in srm.conf file ( which has already a Script Alias File in it ).  
 
I am new to this subject please guide me properly in such a way that I can easly configure the perl scripts on browser.
 
You quick response will be highly appreciated.
 
 
Best Regards.,
Abdul Rahman.
 
 
----- Original MessHi,

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
age -----
Sent: ???????, ????? 04, 2000 7:43 PM
Subject: Executing Perl Scripts on the Web Browser.

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