httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael del Aguila" <raguila.fis...@gmail.com>
Subject Re: [users@httpd] How to invoke CGI program without using its file extension?
Date Fri, 06 Oct 2006 08:10:35 GMT
Ok, I get it!

In Apache2 config file I need to add in the cgi-bin Directory section the
following directives:

Options MultiViews
AddHandler cgi-script exe

With these directives I can run a cgi program (.exe) without using its file
extension.

I were not using this options in Apache 1.3, perhaps the default behaviour
are diferent in both releases.

Thanks.


On 05/10/06, Joshua Slive <joshua@slive.ca> wrote:
>
> On 10/5/06, Rafael del Aguila <raguila.fisica@gmail.com> wrote:
> > Hi,
> >
> >  I'd like to know how can Apache2 run a cgi program without using its
> file
> > extension.
> >
> > In my Apache 1.3 (on Windows 2K) I can use
> > http://my.server.com/cgi-bin/program.exe?Parameter=Value.....
> > or
> > http://my.server.com/cgi-bin/program?Parameter=Value......
> > to execute a .exe cgi program, and both urls work ok.
> >
>
> It sounds like you were using "Options Multiviews" in 1.3.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message