Sorry it's not too clear.
Here's my issue: I'm using VBScript in ASP, and Python to create a
CGI.
Python Code:
=============================================
import os
print "Content-type: text/plain\n"
print "Path info:", os.environ["PATH_INFO"]
=============================================
ASP:
=============================================
<%@ Language=VBScript %>
<HTML>
<HEAD>
<meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie3-2nav3-0">
<TITLE>Path Info Test</TITLE>
</HEAD>
<body>
The extra path information is: <%=
Request.ServerVariables("PATH_INFO") %>
</body>
</HTML>
=============================================
My issue is, when I call them as:
http://<my server>/<path>/<filename>
both scripts return the PATH_INFO as /<path>/<filename>
When I call them as:
http://<my server>/<path>/<filename>/<extra>/<path>
the Python script returns a PATH_INFO of
/<path>/<filename>/<extra>/<path>
and the server reports that the ASP file cannot be found.
I have made sure that in the application settings, "Check to make
sure this file exists" is disabled.
So, my question is why do the two scripts react differently to added
path information? My initial guess was that the Python script calls
the EXE and runs like a CGI but the ASP runs as an ISAPI, but that
didn't make much sense to me.
Hope this clarifies my question.
Bob Barrows [MVP] wrote:
(e-mail address removed) wrote:
I'm sorry if this is a rehash, but all I see is the same info.
Here's my debacle:
I CAN get the PATH_INFO to work. With ANYTHING but ASP. Python,
Perl, Cmd files... works fine. ASP can't find a file when extra
path information is added. Is there a switch in ASP or something
I can change that'll get it to work?
Thanks!
1. What scripting language are you talking about?
2. I can't understand your pr9oblem. Please provide a simple
example to illustrate it.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will
get a quicker response by posting to the newsgroup.