Solved

path_translated, cgi and iis6

Posted on 2006-11-27
10
614 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
ID: 18021005
0
 

Author Comment

by:julcar
ID: 18022244
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
ID: 18022334
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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:julcar
ID: 18022471
It works just fine in asp....so do you think it is a cgi problem?
0
 
LVL 10

Expert Comment

by:AndresM
ID: 18027128
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
ID: 18030083
0
 

Author Comment

by:julcar
ID: 18036566
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
ID: 18046833
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
ID: 19229729
PAQed with points refunded (400)

Computer101
EE Admin
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Log on FTP From Local Machine 6 60
Sweet32 Vulnerability in Microsoft IIS7.5 6 2,061
WebSite Direction 1 62
TLS/SSL Diable 3DES ciper suites 4 70
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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