httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Future Shock Business Solutions <futuresh...@shaw.ca>
Subject Re: [users@httpd] how to activate my perl scripts?
Date Fri, 25 Jul 2003 04:55:45 GMT

Jie,

You might try something like this:

<Directory /path/to/directory/>
  Options +ExecCGI
  <Files test>
   SetHandler cgi-script
  </Files>
</Directory>


Regards,
FSBS

  ----- Original Message ----- 
  From: Jie Song 
  To: users@httpd.apache.org 
  Sent: Thursday, July 24, 2003 11:54 PM
  Subject: [users@httpd] how to activate my perl scripts?


  Hi, Guys,

  I installed Apache 2.0.47 on by FreeBSD box.

  I wrote a perl script test.pl and put it into the directory /usr/local/apache/cgi-bin/.
I can activate it by URL /cgi-bin/test.pl.
  But now, I want to activate it by URL /test rather than /cgi-bin/test.pl. Do somebody can
tell me how to configure APACHE to do that?

  thanks,
  Jie





  ---
  Outgoing mail is certified Virus Free,
  and so I am according to the latest doctor's report!
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.501 / Virus Database: 299 - Release Date: 16/07/03

Mime
View raw message