'Include Virtual' Tag Not Working

liunx

Guest
1) index.shtml (contains the following in the HTML <!--#include virtual="/menu.htm" --><br />
2) menu.htm (contains simple text, just to test the coding above)<br />
<br />
I upload both files, and run index.shtml but I see nothing on the page. It's not 'reading' the information from menu.htm<br />
<br />
Anyone know what's wrong? Thanks!<!--content-->hmmmm...<br />
<br />
1- are you sure your server is set up for SSI?<br />
2- is the path to menu.htm the right one? /menu.htm?.... maybe it's /something/menu.htm?<br />
<br />
:confused:<!--content-->To test if your server has SSI enabled, upload a page that contains this in the body... if it works, the date will show:<br />
<br />
<!--#echo var="DATE_LOCAL" --><!--content-->when you use this / make sure menu.htm is in the root directory.<br />
<br />
<!--#include virtual="menu.htm" --><br />
<br />
will make it look for it in the same directory as the file calling it.<!--content-->
 
Back
Top