Re: IIS 6.0 on Windows Server 2003
anonymous_at_discussions.microsoft.com
Date: 07/23/04
- Next message: tim: "Re: Executing a locally installed program in IIS 6"
- Previous message: Karl Levinson [x y] mvp: "Re: WhoreCam 6142"
- In reply to: Bernard: "Re: IIS 6.0 on Windows Server 2003"
- Next in thread: David Wang [Msft]: "Re: IIS 6.0 on Windows Server 2003"
- Reply: David Wang [Msft]: "Re: IIS 6.0 on Windows Server 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Jul 2004 11:33:29 -0700
Yes my case is like #2
-----------
Allow the user to browse to a web page, which executes
zipcode.exe on the server, and the web page formats the
output and returns it to the browser as a web page. This
requires Web Service Extension for the script engine
hosting the web page (but NOT needed for zipcode.exe --
since IIS directly executes the web page, which indirectly
executes zipcode.exe).
---------
When i visitor browses
http://mysite.com/lookup.php?zipcode=03791
The lookup.php page take the input var of 03791 and passes
it off to the zipcode.exe (a commandline module for
windows)
then the results are sent back to the php page to be used
to look up information.
So basicly zipcode.exe a command line tool that returns a
result based on the var's passed.
This tool works in my exsisting IIS 5 web site application
in my windows 2000 server.
We are upgrading a new server that is running windows 2003
server with IIS 6.
I have IIS and PHP 4 running and ALL of my php pages are
running fine except the ones that call zipcode.exe
I have read the if I give execute permissions to
%SystemRoot%/System32/cmd.exe for the user IUSR_sytemname
then the shell command will work.
I'm reluctant to give acces rights to the IUSR_sytemname
becuse of security reasons.
Is their any workaround other than giving access rights to
the command line?
Thanks
>-----Original Message-----
>what's the error msgs ?
>http status in IIS log file ?
>
>
>--
>Regards,
>Bernard Cheah
>http://www.tryiis.com/
>http://support.microsoft.com/
>http://www.msmvps.com/bernard/
>
>
>
>"tim" <timg@russound.com> wrote in message
>news:0a1e01c46e72$fbe3bd70$a601280a@phx.gbl...
>> I have looked at the MIME Types and .EXE is listed as:
>> application/octet-stream with NO luck...
>>
>>
>>
>> >-----Original Message-----
>> >I am also experience the similar problems
>> >
>> >I have a zip code look up tool that runs in a web page
>> and
>> >calls zipcode.exe and passes a zip code to it then
>> >displays the zip code with X radius
>> >For example:
>> >From a command prompt:
>> >C:\ zipcode.exe 03852 5
>> >03853
>> >03854
>> >03855
>> >03856
>> >03857
>> >
>> >I call this script in my web page and pass the zip code
>> >and radius as variables and it WORKS in IIS 5
>> >
>> >I have looked at the MIME Types and .EXE is listed as:
>> >application/octet-stream
>> >
>> >Now What?
>> >
>> >
>> >>-----Original Message-----
>> >>I found the answer:
>> >>
>> >>If you are using IIs 6.0 (supplied with Windows 2003),
>> >IIS
>> >>serves only files with extensions registered in its
MIME
>> >>types list. To ensure that IIS serves the requested
>> >files,
>> >>either add each extension used by those files or a
>> >>wildcard (.*) to the list. To do this, find the top-
>> level
>> >>web directory, open the properties pages and click the
>> >>HTTP Headers tab. Then selet MIME types and add the
>> >>extensions, mapping them to MIME
type 'application/octet-
>> >>stream'.
>> >>
>> >>Thanks,
>> >>
>> >>Steve Cox
>> >>>-----Original Message-----
>> >>>What do you mean "it broke"? What happens now when
you
>> >>click a link?
>> >>>
>> >>>Cheers
>> >>>Ken
>> >>>
>> >>>
>> >>>"Steve Cox" <anonymous@discussions.microsoft.com>
wrote
>> >>in message
>> >>>news:28d4b01c46538$0a2d6e60$a601280a@phx.gbl...
>> >>>: I need to understand if I can launch a desktop
>> >installed
>> >>>: application from a webpage hosted on IIS 6.0? I
have
>> >>this
>> >>>: working on IIS 5.0, however it broke after
upgrading.
>> >In
>> >>>: IIS 5.0 it was simple, just by adding a file
>> >association
>> >>>: on the desktop the web link just fires off the
local
>> >>>: application. It simplifies the use by plant floor
>> >>>: operators that use of our applications.
>> >>>:
>> >>>: Any assistance is appreciated.
>> >>>:
>> >>>: Thanks,
>> >>>:
>> >>>: Steve Cox
>> >>>:
>> >>>
>> >>>
>> >>>.
>> >>>
>> >>.
>> >>
>> >.
>> >
>
>
>.
>
- Next message: tim: "Re: Executing a locally installed program in IIS 6"
- Previous message: Karl Levinson [x y] mvp: "Re: WhoreCam 6142"
- In reply to: Bernard: "Re: IIS 6.0 on Windows Server 2003"
- Next in thread: David Wang [Msft]: "Re: IIS 6.0 on Windows Server 2003"
- Reply: David Wang [Msft]: "Re: IIS 6.0 on Windows Server 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|