Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft versus Apache SSI support

Status
Not open for further replies.

Toman

Technical User
Mar 30, 2004
190
CZ
My provider has switched from Apache server to Microsoft-IIS/6.0 and my SHTML pages displays incorrectly.
It looks to me, that Microsoft support for SSI directives is not as wide as with Apache. I'd say that conditional jumps (<!--#if expr=...) and user variables are not supported. Is that true?
And second question - how to pass the filename to SSI directive #include by means of QUERY_STRING. I mean a code like
Code:
<!--#include virtual="$QUERY_STRING"-->
<!--#include virtual="QUERY_STRING"-->
<!--#include virtual="#echo var='QUERY_STRING'"-->
(None of the above really works).
Thank you, Tom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top