Re: IIS Config Help - This is a hard one - Migration from Linux to Win2K

From: Allen May (umayxa3@yahoo.com)
Date: 02/10/03


From:     Allen May <umayxa3@yahoo.com>
Date: Mon, 10 Feb 2003 06:21:00 -0800


Thank you for this information. I've already pursued these paths though.

The problem is with passing a wildcard variable to the CGI.
In IIS (I want this to work under IIS, not Apache for Windows), I can
point the destination to a file, like an index.htm file, but I can't
pass the additional variables to the CGI, like the Linux process is now.

So, what IIS allows is:
I call http://www.mysite.com/forward_me and it sends me to
http://www.mysite.com/forward_me/myhtml.asp which lives in a Virtual
Directory.

What I need to do is:
When a user calls http://www.mysite.com/forward_me*> (EXAMPLE:
http://www.mysite.com/forward_me/234/mywordfile.com), they are forwarded
to http://www.mysite.com/cgi-bin/process.cgi

The trailing variables, /234 <a numeric variable> and /mywordfile.doc <a
friendly name>, are processed by the CGI as the UID and friendly name
querry against the database.

Any other suggestions?

Thanks

-Allen

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: CGI under IIS throws away printf on multiple posts.
    ... IIS is not throwing away anything. ... will have to implement in CGI, by taking a server-side lock to prevent the ... session from performing the operation a second consecutive time. ... "application session" (IIS is a high-performance server. ...
    (microsoft.public.inetserver.iis)
  • Re: 404 errors with cgi scripts
    ... the troubleshooting steps already exist. ... In F1 help in IIS ... 404 2 -- fail by Web Service Extension. ... It sounds like this CGI is one of them (it detects that it ...
    (microsoft.public.inetserver.iis)
  • Re: HTTP_AUTHORIZATION header
    ... You can configure IIS to not keep-alive with: ... I have verified that the method of execution of the CGI - GET form, ... Display HTML page in directory A, ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... It only controls whether the CGI gets a console window when executing or not ... > It warns that it's inteneded for IIS 4 &5... ... >> elevate privileges (through impersonation), but any other code can only ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 6.0 cgi process not running as same user as worker process?
    ... It only controls whether the CGI gets a console window when executing or not ... > It warns that it's inteneded for IIS 4 &5... ... >> elevate privileges (through impersonation), but any other code can only ...
    (microsoft.public.inetserver.iis)