[thelist] SSI Question

Garrett Coakley garrett at polytechnic.co.uk
Mon Sep 3 15:30:39 CDT 2001

On Mon, Sep 3, 2001, Olly Hodgson said:

>So what exactly is a virtual directory?

Think of it as a directory defined against the web root, as opposed to
against the file system:

If the web root is www.polytechnic.co.uk and the Document Root is /var/
www/polytechnic, then 

<!--#include virtual="/footer/footer.inc"-->

means www.polytechnic.co.uk/footer/footer.inc


<!--#include file="../footer/footer.inc"-->

would mean /var/www/footer/footer/.inc

That help?


WORK: http://spiked.co.uk
PLAY: http://polytechnic.co.uk

More information about the thelist mailing list