By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,584 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

Extra Path Info

P: n/a
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!

Aug 24 '06 #1
Share this Question
Share on Google+
11 Replies


P: n/a
cd******@gmail.com 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.
Aug 24 '06 #2

P: n/a
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:
cd******@gmail.com 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.
Aug 24 '06 #3

P: n/a
ASP has no concept of "extra path info", unless you are talking about
querystrings. In IIS, the only thing allowed after the file name is a
list of name/value pairs initiated with a question mark and delimited
with &'s:

http://www.myweb.com/path/abc.asp?a=526&b=hello

This name/value pair list is called a querystring. Is that what you are
talking about? I'm really not familiar with Python.

cd******@gmail.com wrote:
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:
>cd******@gmail.com 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.
--
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.
Aug 24 '06 #4

P: n/a
PS. You can find the ASP scripting documentation here:
http://msdn.microsoft.com/library/en...f33a651779.asp

Click around in the TOC to find the IIS docs

cd******@gmail.com wrote:
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:
>cd******@gmail.com 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.
--
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.
Aug 24 '06 #5

P: n/a

<cd******@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
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.
nope, still dont know what you mean. But

maybe this line may clear things up

<%= Server.MapPath( Request.ServerVariables("PATH_INFO")) & "?" &
Request.ServerVariables("QUERY_STRING") %>
or this one

http:// <%=Request.ServerVariables("LOCAL_ADDR") &
Request.ServerVariables("URL") & "?" &
Request.ServerVariables("QUERY_STRING") %>
Bob Barrows [MVP] wrote:
>cd******@gmail.com 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.

Aug 24 '06 #6

P: n/a
I take issue with your assertion that in IIS, the only thing allowed
after the filename is the query string. It definitely will allow such
data, as evidenced by the Python code. Also, look for servers that use
it, as an example:

http://<someserver>/news/data.dll/articles/1304?printview=true

I don't know if something exactly like that exists, but I've seen
similar... the extra path information is used to make the site
search-engine friendly, since search engines usually ignore query
strings.

The Python code is acting similar to a CGI, and in the Application
settings I have the set up the mapping, so that the Python interpreter
is called and acts similar to a CGI program, as far as I understand.

All the Python code does is print out the "PATH_INFO" environment
variable. It's
Bob Barrows [MVP] wrote:
ASP has no concept of "extra path info", unless you are talking about
querystrings. In IIS, the only thing allowed after the file name is a
list of name/value pairs initiated with a question mark and delimited
with &'s:

http://www.myweb.com/path/abc.asp?a=526&b=hello

This name/value pair list is called a querystring. Is that what you are
talking about? I'm really not familiar with Python.

cd******@gmail.com wrote:
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:
cd******@gmail.com 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.

--
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.
Aug 24 '06 #7

P: n/a
Let me make it even more clear:

Create an ASP.NET web application with C#

Add a label to the page

Add this code to the Page_Load event:
==================================
Label1.Text = Request.PathInfo;
==================================

Now, browse to the page like normal. Nothing appears.

Go to the page, but after typing the name of the page /<filename>.aspx,
type in /test so it looks like /<filename>.aspx/test

The label will say /test

THAT is the effect I'm trying to achieve, but with ASP. I'm hoping to
do a prototype with ASP to get the UI and an idea of the flow, then
move to something like CGI, ASP.NET or ISAPI.
cd******@gmail.com wrote:
I take issue with your assertion that in IIS, the only thing allowed
after the filename is the query string. It definitely will allow such
data, as evidenced by the Python code. Also, look for servers that use
it, as an example:

http://<someserver>/news/data.dll/articles/1304?printview=true

I don't know if something exactly like that exists, but I've seen
similar... the extra path information is used to make the site
search-engine friendly, since search engines usually ignore query
strings.

The Python code is acting similar to a CGI, and in the Application
settings I have the set up the mapping, so that the Python interpreter
is called and acts similar to a CGI program, as far as I understand.

All the Python code does is print out the "PATH_INFO" environment
variable. It's
Bob Barrows [MVP] wrote:
ASP has no concept of "extra path info", unless you are talking about
querystrings. In IIS, the only thing allowed after the file name is a
list of name/value pairs initiated with a question mark and delimited
with &'s:

http://www.myweb.com/path/abc.asp?a=526&b=hello

This name/value pair list is called a querystring. Is that what you are
talking about? I'm really not familiar with Python.

cd******@gmail.com wrote:
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:
>cd******@gmail.com 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.
--
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.
Aug 24 '06 #8

P: n/a
Ah! I did not realize you were talking about browsing to a dll (note
that I used a .asp file in my example)!

Someone else will need to step in on this. I have no experience in this
area.

cd******@gmail.com wrote:
I take issue with your assertion that in IIS, the only thing allowed
after the filename is the query string. It definitely will allow such
data, as evidenced by the Python code. Also, look for servers that
use it, as an example:

http://<someserver>/news/data.dll/articles/1304?printview=true

I don't know if something exactly like that exists, but I've seen
similar... the extra path information is used to make the site
search-engine friendly, since search engines usually ignore query
strings.

The Python code is acting similar to a CGI, and in the Application
settings I have the set up the mapping, so that the Python interpreter
is called and acts similar to a CGI program, as far as I understand.

All the Python code does is print out the "PATH_INFO" environment
variable. It's
Bob Barrows [MVP] wrote:
>ASP has no concept of "extra path info", unless you are talking about
querystrings. In IIS, the only thing allowed after the file name is a
list of name/value pairs initiated with a question mark and delimited
with &'s:

http://www.myweb.com/path/abc.asp?a=526&b=hello

This name/value pair list is called a querystring. Is that what you
are talking about? I'm really not familiar with Python.

cd******@gmail.com wrote:
>>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:
cd******@gmail.com 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.

--
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.
--
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.
Aug 24 '06 #9

P: n/a
cd******@gmail.com wrote:
Let me make it even more clear:

Create an ASP.NET web application with C#

Add a label to the page

Add this code to the Page_Load event:
==================================
Label1.Text = Request.PathInfo;
==================================

Now, browse to the page like normal. Nothing appears.

Go to the page, but after typing the name of the page
/<filename>.aspx, type in /test so it looks like /<filename>.aspx/test

The label will say /test

THAT is the effect I'm trying to achieve, but with ASP. I'm hoping to
do a prototype with ASP to get the UI and an idea of the flow, then
move to something like CGI, ASP.NET or ISAPI.
I know of no way to accomplish what you are after using a .asp file.
--
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.
Aug 24 '06 #10

P: n/a
Okay thanks. That was what I was going after.
Bob Barrows [MVP] wrote:
cd******@gmail.com wrote:
Let me make it even more clear:

Create an ASP.NET web application with C#

Add a label to the page

Add this code to the Page_Load event:
==================================
Label1.Text = Request.PathInfo;
==================================

Now, browse to the page like normal. Nothing appears.

Go to the page, but after typing the name of the page
/<filename>.aspx, type in /test so it looks like /<filename>.aspx/test

The label will say /test

THAT is the effect I'm trying to achieve, but with ASP. I'm hoping to
do a prototype with ASP to get the UI and an idea of the flow, then
move to something like CGI, ASP.NET or ISAPI.
I know of no way to accomplish what you are after using a .asp file.
--
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.
Aug 25 '06 #11

P: n/a

<cd******@gmail.comwrote in message
news:11*********************@h48g2000cwc.googlegro ups.com...
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.
A clunky way to do this is to make the page the 404 custom error handler for
itself.
However the extra info would need to be found from the QUERY_STRING server
variable instead. One problem might be that relative paths won't work well
like this.

A slightly less clunky way is to drop the .asp from filename and make a
folder with the filename. Now add the file as a custom 404 handler for that
folder. The URL paths are preserved from the browsers point of view so
relative paths will work. You still need to parse out of the QUERY_STRING
the info you need.
Bob Barrows [MVP] wrote:
cd******@gmail.com 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.

Aug 29 '06 #12

This discussion thread is closed

Replies have been disabled for this discussion.