Thanks for reply…
I read the article, its about what is SSI and SSI Functions.
I am working on Win XP SP2… with IIS 5.1 and I want to use it to test a site (containing server side includes) locally before uploading.
For example I’ve 2 Files
-
test.shtml (file that needs be run, having INCLUDES code)
-
ssitest.txt (file that I want to include in “test.shtml” file)
Code for “test.shtml”
-----------------------start-----------------------------
<HTML>
<HEAD>
<TITLE>SSI Test</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF">
<p> </p>
<p>There Should be a Sentence Below This Line To Confirm Working of SSI</p>
<!--#include virtual="ssi-test.txt" -->
</BODY>
</HTML>
-----------------------end-----------------------------
Code for “ssitest.txt”
-----------------------start-----------------------------
<h1> Your SSI Configuration Worked….. </h1>
-----------------------end----------------------------
Both files are in same folder "c:\inetpub\wwwroot\ssi" &
I run "http://localhost/ssi/test.shtml"
I’ve also mapped the extensions .html & .shtml to ssinc.dll
This files when uploaded to web-server works fine.. but gives Following error when tried locally
----
HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.1 Date: Wed, 01 Jul 2009 13:23:51 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html
404 Object Not Found
----
Will wait for your reply
Thanks once agin for your time