![]() |
<!--#include virtual="footer.html" -->
Can you hard link a virtual include? For example,
<!--#include virtual="http://www.blah.com/mc/footer.html" --> And you have numerous directories with html files that use that footer.html file? Or do i have to upload the footer.html to each specific directory and use <!--#include virtual="footer.html" -->? :helpme |
You can "hard" link it. I do it all the time. Menu's, headers, footers, etc. etc. Saves a lot of time when something needs to be changed.
|
Quote:
|
arggg
I keep getting: [an error occurred while processing this directive] |
Quote:
Maybe SSI isnt on the other box? |
Is your file named .SHTML instead of .HTML?
|
Quote:
|
Quote:
|
You should be using PHP :)
<? include "http://www.blah.com/path/to/footer.html; ?> :glugglug |
Quote:
|
you need to use a directory structure on your local server when using ssi. as far as i know you can't pull from other sites or files located on other servers.
you are able to use /dir/bah.txt i'm not sure if using a html file will work either, you could try renaming it to txt (it will still output it as html) |
Quote:
I was going to say the same thing. You can even keep the pages .html and add a line to your .htaccess |
you CANT hardlink using SSI - at least I have never been able to do it - those claiming to have done it either have a special server setup or are talking out their arses :)
As the last couple of guys said - php is the way to go - you can hardlink as you need to do without any hassles. :2 cents: |
All times are GMT -7. The time now is 04:11 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123