|
-
Aug 26th, 2000, 03:26 PM
#1
Thread Starter
Lively Member
When I use SSI on a webpage, do I need to have the page end in .shtml or can I have it end in .html?
-
Aug 26th, 2000, 04:43 PM
#2
Monday Morning Lunatic
It depends on the server. Mostly, they need to be .shtml. This is because it takes the server longer to return the page if it needs to parse it. If it is set to parse all .html files, then it is a lot slower than letting the user set what files use SSI. Your username suggests you are a webmaster, so you'd have to read the docs for your server. If you're using Apache then I can help you out with this.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 26th, 2000, 04:47 PM
#3
Thread Starter
Lively Member
We are on a linux server. I would like to use .html if possible, because I have already configured all the pages for that.
-
Aug 26th, 2000, 04:48 PM
#4
Monday Morning Lunatic
It's not the computer it's running on, but the configuration of the actual server program. What Web server do you use?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 26th, 2000, 05:20 PM
#5
Thread Starter
Lively Member
I have a friend hosting me. Basically its UNIX if thats what you are getting at. I dont completely understand.
-
Aug 26th, 2000, 05:26 PM
#6
Monday Morning Lunatic
The easiest way is to create two SSI files, one ssitest.shtml, and one called ssitest.html
Upload them, then test them from a web browser and see which one works.
Since it's POSIX-based, it'll most likely be Apache, in which case there will be lines similar to the following in your httpd.conf file:
Code:
AddType text/html .shtml
AddHandler server-parsed .shtml
...for .shtml, and:
Code:
AddHandler server-parsed .html
...for all .html files.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 26th, 2000, 10:07 PM
#7
Hyperactive Member
"People who think they know everything are a great annoyance to those of us who do."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|