David
Sat May 28 16:46:51 CDT 2005
Let me verify what you are trying to do:
1. You want a request to
http://..../CGIData.html to end up executing
C:\inetpub\scripts\CGIData.exe
2. The remote user doesn't know CGIData.html actually executes something
else
3. You want requests to
http://..../AnotherHTMLPage.html to end up served as
a normal HTML page
To do this remapping, you just configure an Application mapping on
http://..../CGIData.html for the .html extension and set the mapping's
Script Engine to C:\inetpub\scripts\CGIData.exe.
This way, only requests to
http://..../CGIData.html actually end up causing
IIS to execute C:\inetpub\scripts\CGIData.exe on the server (client still
only sees
http://..../CGIData.html since it is not privy to what happens on
the server). Other requests to
http://..../AnotherHTMLPage.html continue to
be served as a normal HTML page
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"monir" <mnrsbgh@scs-net.org> wrote in message
news:1117272692.498128.14590@g44g2000cwa.googlegroups.com...
I have a CGI exe on IIS server, users can use this CGI by using this
address:
http://...../CGIData.exe
Now my question is how can I make the CGIdata.exe is not visible to the
users, I mean users can use the following address:
hrrp://..../CGIData.html
Note html not exe. If I used redirection in IIS, the users will be able
to use the html page instead of .exe, but after that the browser will
show them the .exe address. How can I do this without redirection.
Thank you for your help.
Monir.