Web Design, Development & Marketing
acuras services: Website Design & Development E-commerce Solutions Content Management Systems Online Marketing & Social Media Corporate Branding Social Media Training
Get in touch... Email Us: info@acuras.co.uk
acuras blog:7 Quick Tips to Keep Your SEO On Track in 2012 7 Social Media & SEO Tactics Businesses Will Adopt in 2012 latest posts:We are now trading as a Limited company Recent Work: Digital Marketing Material and Website Re-Designs Affordable Web Hosting and Domain Name Registration New Acuras Logo Coming Soon... Barclaycard ePDQ CPI Integrations HSBC XML API / CPI E-commerce Integrations Photoshop to Valid XHTML/CSS Coding Service Recommended Open Source Invoicing System Reasons Businesses should Embrace the Web blog archive:
Web Development ArticlesRelative File (Virtual) Inclusion - Server Side Includes (SSI)
Published: 23rd Mar 2007
This post expands upon the post made a while back on Server Side Includes (SSI) and .shtml Pages. I was recently tinkering with SSI and was attempting to include an HTML file located in the parent directory of a certain SHTML file. Using
<!--#include file="../file.html"--> does not work for this. The following code which uses the "virtual" argument must be used instead:<!--#include virtual="../file.html" -->The virtual argument can also be used in any situation where the file you are including is located in a position requiring an address starting at the server root. <!--#include virtual="/directory/included.html" -->Related LinksRelated Articles / PostsBarclaycard ePDQ CPI Integrations (27/05/2009) HSBC XML API / CPI E-commerce Integrations (02/04/2009) Controlling PHP Register Globals Using .htaccess File (04/03/2008) Relative File (Virtual) Inclusion - Server Side Includes (SSI) (23/03/2007) Apache: Running XAMPP Server Software for Testing PHP and MySQL (14/08/2006) |
||