SSI paths problem

  • dedi
  • Born
  • Born
  • dedi
  • Posts: 1

Post 3+ Months Ago

HI

when I use this on an shtml page:
<!--#include virtual="footer.html" -->

and if the footer.shtml page as well as the webpage that I have the above code in calling up that footer, all works well

but..........I have some webpages in this directory for examnple:

/beachrentals/bayterrace/index.shtml (a lower directory from the root)

now if I put the '<!--#include virtual="footer.html" -->'
code on that page (/beachrentals/bayterrace/index.shtml)

i get an error

I tried changing the include code to use a real path, but that did not work
my real path to the footer is:/var/www/vhosts/nicaraguahomerentals.com/httpdocs/footer.html

I hope all this make sense but I do not know how to fix it

If my footer was in a LOWER directory than the page calling it up,
then no problem, but its the other way around here

any help?
thanks

you can email me at goandgetit@shaw.ca

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 57 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.