Re: [users@httpd] How to invoke CGI program without using its file extension?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> wrote:
On 10/5/06, Rafael del Aguila <raguila.fisica@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux