Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSI #exec and querystring passthrough

0 views
Skip to first unread message

eclect...@gmail.com

unread,
Nov 21, 2005, 5:45:10 PM11/21/05
to
Greetings,

My web server was recently upgraded from Win2K to Win2003 and I've
noticed a change in the way Server Side Includes (SSI) operate. In
Win2K a script called via #exec was run as if it were part of the
calling SSI file. This had two affects when the script that is run is
an ASP file:

- Request.ServerVariables("PATH_INFO") returned the name of the SSI
file
- Request.Querytring accessed the querystring associated with the SSI
file

In effect, the parameters of the original SSI file are passed through
to the script that is executed. In Win2003 this is no longer the case.
PATH_INFO indicates the ASP file and Request.Querystring does not
display anything (unless one is appended to the end of the #exec
statement).

I was curious if these changes were by design and if there is a way to
restore the old model (such as a metabase setting). The only
alternative method I currently see available to me is working out a
JavaScript method of generating the content I need or associating the
HTML files with the ASP processor (and using Server.Execute).

Thanks for your time.
Brian

0 new messages