Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

path_translated, cgi and iis6

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
julcar
Asked:
julcar
1 Solution
 
AndresMCommented:
0
 
julcarAuthor Commented:
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
 
AndresMCommented:
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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
julcarAuthor Commented:
It works just fine in asp....so do you think it is a cgi problem?
0
 
AndresMCommented:
are you sure you set correctly AllowPathInfoForScriptMappings ? did you restart IIS after that?
or may be the problem is in the cgi application ...
0
 
rama_krishna580Commented:
0
 
julcarAuthor Commented:
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
 
julcarAuthor Commented:
Hi,

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

Thank you all for your help!

0
 
Computer101Commented:
PAQed with points refunded (400)

Computer101
EE Admin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now