Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
08-21-2004, 05:21 PM #1
- Join Date
- Aug 2004
- Thanked 0 Times in 0 Posts
Problem with SSI #include virtual and absolute path
I am trying to use an SSI to include some common html in my pages. My directory structure is organized as follows:
public_html\ includes\ ssi_test\
The contents of this file are very simple, and biol down (outside of standard things like head and body tags) to
unable to include "/public_html/includes/ssi.txt" in parsed file /home/kevin/public_html/ssi_test/ssi_test.shtml
The only way I have gotten it to work is to use the relatative path notation:
The reason I want an absolute path is that some of my site is multiple levels deep, suchas in dir1/dir2/file.shtml and I would rather avoid using ../../includes where ../ corresponds ot the depth of the site.