Techwarelabs Community

Techwarelabs Community (https://www.techwarelabs.com/community/index.php)
-   Software - Applications, Programming, and Games (https://www.techwarelabs.com/community/forumdisplay.php?f=13)
-   -   SSI Help! (https://www.techwarelabs.com/community/showthread.php?t=977)

VoidedWarranty 11-24-2001 10:03 PM

SSI Help!
 
Not sure were else to put this but maybe someone can help. I want to add a header and footer to pages using SSI. I am using and have even tried . This works for pages that are in the same dir as the .txt file (i.e. /www/webpage files and .txt files here/). If I try and add the SSI into a page that is in another dir it doesn't work (i.e. /www/dir2/webpages here). I have also put the full path and even tried the full web URL without luck.

Can these .txt files only be include if they are in the same dir as the web page they are being included in?

Thanks ahead of time!

Keefe 11-25-2001 12:04 AM

Re: SSI Help!
 
use



it will look for that file in the root of www

Omega 11-25-2001 02:05 PM

Re: SSI Help!
 
Well, first of all, make sure you have the full server path correct from the server.  It took three tries contacting my work's web host, and they still didn't give me the right path, (they did give me three different wrong ones though).  I eventually figured it out myself.  Then I beleive you'll want to use the .  There's also a good possibility that your server could have SSI's disabled by default.  I'd suggest calling your web host and making sure any problems are on your end before worrying too much.


All times are GMT -5. The time now is 03:56 PM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.