SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Need help w/ SSI
-
Jul 23, 2001, 12:35 #1
- Join Date
- Jan 2000
- Location
- CT
- Posts
- 160
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Need help w/ SSI
Hi everyone,
I am using SSI for the frist time.... I am trying to pull up a page within another page... I have been succesfull doing so using one host... however, I am trying it with another (who claims they support SSI) and I am not having any luck.
If you take a look at www.mtoassoc.com/Rotary/index5.html and the source, you will see that I am trying to call up another page, /middle.shtml ... now I think the code is right and the pages are all up and running, so therefor, shouldnt it be working? Can someone please give me suggestions of why it is not working and what the .htaccess file for SSI is supposed to include.
Thanks in advance!
-
Jul 23, 2001, 12:52 #2
The problem is simple. The page index5.html needs to be index5.shtml
The page you actually put the SSI code on has to have a .shtml extension on most servers.
If you are using Apache read what I posted here:
http://www.sitepointforums.com/showt...threadid=29117
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
Jul 23, 2001, 22:33 #3
- Join Date
- Jan 2000
- Location
- CT
- Posts
- 160
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
if it is titled index.shtml will the browser automaticaly detect it just like it would with a .html extension?
-
Jul 24, 2001, 00:40 #4
- Join Date
- Jul 2001
- Location
- British Columbia
- Posts
- 39
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
shtml
Yes, it should recognize the .shtml extension.
You might notice however, that if you create a .shtml file on your own computer, that you can't double-click on it like a normal HTML file. You'd need to use the Open With dialog to set your browser to open the file (of course, you won't see any includes, because you'll still need a server to execute the SSI commands).
-
Jul 24, 2001, 12:03 #5Originally posted by stevek
if it is titled index.shtml will the browser automaticaly detect it just like it would with a .html extension?
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
Bookmarks