Solved

path_translated, cgi and iis6

Posted on 2006-11-27
10
601 Views
Last Modified: 2012-05-05
Hi,
I have a Windows 2003 server with IIS 6.0. I have a cgi application that tries to read path_translated variable. The return value is always empty. This cgi is working well on my Windows 2000 IIS 5.0 server.
I've tried to set IIS variable AllowPathInfoForScriptMappings to true but still not working.
Is there anything else I need to configure in IIS 6.0 to get this working?

Any help would be appreciated.

Thank you
0
Comment
Question by:julcar
10 Comments
 
LVL 10

Expert Comment

by:AndresM
Comment Utility
0
 

Author Comment

by:julcar
Comment Utility
thank you andresM
I've tried to read PATH_INFO, SCRIPT_TRANLATED and PATH_TRANSLATED. all of them return an empty string.
Any other idea?
0
 
LVL 10

Expert Comment

by:AndresM
Comment Utility
If you try same thing but with a simple asp page, what happens?
IIS Server Variables
http://msdn2.microsoft.com/en-gb/library/ms524602.aspx

PS: See:

PATH_TRANSLATED
The physical path that maps to the virtual path in PATH_INFO, for example, "c:\inetpub\wwwroot\vdir\myisapi.dll". This variable is used by IIS during the processing of ISAPI applications. If the AllowPathInfoForScriptMappings metabase property is set to true (to support exclusive CGI functionality), PATH_INFO will only contain "/zip" and ISAPI applications such as ASP will break.
 
0
 

Author Comment

by:julcar
Comment Utility
It works just fine in asp....so do you think it is a cgi problem?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 10

Expert Comment

by:AndresM
Comment Utility
are you sure you set correctly AllowPathInfoForScriptMappings ? did you restart IIS after that?
or may be the problem is in the cgi application ...
0
 
LVL 23

Expert Comment

by:rama_krishna580
Comment Utility
0
 

Author Comment

by:julcar
Comment Utility
AndresM: yes I set it correctly and I restarted IIS. The proof is that it works fine in ASP

ram krihna580: these webpages applies to IIS 4.0. I use IIS 6.0

Thank you.
0
 

Author Comment

by:julcar
Comment Utility
Hi,

I've found my problem. The problem was in my cgi application (a Bbx application).

Thank you all for your help!

0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (400)

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now