SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: SSI file names
-
Oct 29, 2006, 22:33 #1
- Join Date
- Oct 2006
- Posts
- 97
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
SSI file names
I want to use server side includes on one of my websites for navigation and a footer. However, I don't want to have to use .shtml file names. I've set my server to parse all .html files, but I've read this is not the best thing because it will unnecessarily slow down regular .html files. So is there a way around doing this?
-
Oct 29, 2006, 22:47 #2
- Join Date
- Sep 2005
- Location
- Tanzania
- Posts
- 4,662
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
You could use PHP. Its SSI function is extremely easy to use:
PHP Code:<some HTML>
<?php include('header.html'); ?>
<more HTML>
<?php include('footer.html'); ?>
-
Oct 30, 2006, 06:04 #3
- Join Date
- Dec 2005
- Location
- The grassy knoll
- Posts
- 14
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you're on Apache and some kind of Unix system this: XbitHack, is very convenient.
Bookmarks