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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML and SSI Simple Question 1

Status
Not open for further replies.

megabyte214

Programmer
Nov 7, 2001
40
US
I have an HTML file and I want to use a Server Side Includes. Does the SSI have to be in the same directory?
If the includes is in the directory above the html file can I do this?

<!--#include virtual=&quot;../_top.inc&quot;-->

Thanks in advance!
 
Hi mate,

Take the file from the root directory if it is above the file calling it.

<!--#include virtual=&quot;/path/to/_top.inc&quot;-->

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top