httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: CGI Handler in .htaccess
Date Mon, 22 Jul 2002 08:14:43 GMT
I've never used this directive before, but a quick look at the docs reveals that the recommended
procedure is somewhat different to yours:

  AddHandler my-file-type .xyz
  Action my-file-type /cgi-bin/program.cgi

Why not try something closer to this...

Rgds,

Owen Boyle
>-----Original Message-----
>From: Zenon Zabinski [mailto:zenon.zabinski03@students.bcp.org]
>Sent: Samstag, 20. Juli 2002 06:32
>To: users@httpd.apache.org
>Subject: CGI Handler in .htaccess
>
>
>Hello,
>
>I have a cgi program that I would like to use as a handler for 
>a certain 
>directory. Trying to accomplish this, I put the following into the 
>.htaccess file in that directory:
>
>Action somename /folder/file.cgi
>SetHandler somename
>
>When I accessed the folder, however, all I get is the default 
>directory 
>listing. Where am I going wrong?
>
>I'm using the 1.3.26 version of Apache.
>
>Thank you.
>
>-Zenon
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message