[users@httpd] How to invoke CGI program without using its file extension?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.
But in Apache2 (installed on the same server)
http://my.server.com/cgi-bin/program?Parameter=Value.....
fails with
error 404 Not Found
The requested URL /cgi-bin/program was not found on this server.
However
http://my.server.com/cgi-bin/program.exe?Parameter=Value.....
works ok
Why? Was it a bug in 1.3 realese? Is it a configuration issue?
I would like to run cgi program without using its file extension.
Thanks in advance for your help.
[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]