Nexology Community
 
     
 
   

Go Back   Nexology Community > Nexus Zone > Pre-Sales Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 05-16-2002, 02:57 PM   #1
Registered User
 
BillSamuel's Avatar
 
Join Date: May 2002
Location: Maryland USA
Posts: 1,190
Question File names

Do files using server side includes have to use the .shtml extension, or do you have a way to use SSIs with the .html extension?
BillSamuel is offline   Reply With Quote
Old 05-16-2002, 08:42 PM   #2
Registered User
 
Darkman's Avatar
 
Join Date: Apr 2002
Location: Sydney, Oz
Posts: 1,006
i think you can use just .html files with SSI, but i am not 100% sure as I haven't tried it myself... but no one has mentioned .shtml files, so i am assuming you dont need it with SSI...
Darkman is offline   Reply With Quote
Old 05-16-2002, 11:15 PM   #3
HN Tech Support
 
Mike's Avatar
 
Join Date: Jan 2002
Location: Detroit USA
Posts: 3,060
Smile Re: File names

Quote:
Originally posted by BillSamuel
Do files using server side includes have to use the .shtml extension, or do you have a way to use SSIs with the .html extension?
Hi Bill,

Files using server side includes must end in .shtml


- Mike
__________________
Mike Bowers
Vice President Sales and Development
HostNexus USA

- Need Support? Quickest reponses are found at the Support Helpdesk!
- Need management assistance? Email me directly at sales@hostnexus.com

Mike is offline   Reply With Quote
Old 05-18-2002, 09:19 PM   #4
Registered User
 
BillSamuel's Avatar
 
Join Date: May 2002
Location: Maryland USA
Posts: 1,190
I thought I'd read once that there was a fairly simple way a host could make SSI work with .html files.

Anyway, I guess you could make the files accessible using the .html instead of .shtml extension through the .htaccess file, although I gather that would require a separate entry for each page. Is that correct?
BillSamuel is offline   Reply With Quote
Old 05-18-2002, 09:59 PM   #5
Registered User
 
ppeay's Avatar
 
Join Date: Apr 2002
Location: Earth
Posts: 759
yeap that can be done but if the server has to check every html file for SSI that would an unnecessary load on the server and tend to slow things down for everyone.
__________________
Patrick

www.drpeay.com
www.batpuppy.com
ppeay is offline   Reply With Quote
Old 05-20-2002, 02:32 PM   #6
HN Tech Support
 
Mike's Avatar
 
Join Date: Jan 2002
Location: Detroit USA
Posts: 3,060
Unhappy

Quote:
Originally posted by BillSamuel
I thought I'd read once that there was a fairly simple way a host could make SSI work with .html files.

Anyway, I guess you could make the files accessible using the .html instead of .shtml extension through the .htaccess file, although I gather that would require a separate entry for each page. Is that correct?
Bill,

The SSI extension .shtml tells Apache to fire up the Server Side Includes daimon and open it for this file. Not sure why you would want to try to do this using the .htaccess file, but that would not work anyway, because it has no way to tell Apache that it is a Server Side Includes file.

- Mike
__________________
Mike Bowers
Vice President Sales and Development
HostNexus USA

- Need Support? Quickest reponses are found at the Support Helpdesk!
- Need management assistance? Email me directly at sales@hostnexus.com

Mike is offline   Reply With Quote
Old 05-20-2002, 02:44 PM   #7
Registered User
 
ppeay's Avatar
 
Join Date: Apr 2002
Location: Earth
Posts: 759
Why do you not want to use .shtml files? Any html code that will run on a .html page will run on a .shtml page as far as I know?
If you just don't want people to know that you are running .shtml pages, I guess you could use frames and frame the .shtml page within a .html page of the same name.
__________________
Patrick

www.drpeay.com
www.batpuppy.com
ppeay is offline   Reply With Quote
Old 05-20-2002, 03:06 PM   #8
Registered User
 
BillSamuel's Avatar
 
Join Date: May 2002
Location: Maryland USA
Posts: 1,190
1. If you are moving a site with .html pages (like Webseed's), and want to use SSIs, the requirement of .shtml extensions means all your URLs must change. Also, some people think of .html as the standard extension, and thus might enter URLs without the "s".

2. The htaccess comment was aimed at providing a way for people using the html extension to be automatically redirected to the shtml pages. That would work, wouldn't it?
BillSamuel is offline   Reply With Quote
Old 05-20-2002, 03:27 PM   #9
Registered User
 
ppeay's Avatar
 
Join Date: Apr 2002
Location: Earth
Posts: 759
Well you have to enter the SSI in anyway so you can change the name then. I guess if people enter some of you pages directly using something like IE favorites,ect that this could be a problem. If its just the the index file then you can just redirect index.html to index.shtml using a redirect. You could also do a custom not found page, informing them of the change and redirecting to a page containing links to all your pages.
I have not used the .htaccess much myself so someone else will have to answer that question.
__________________
Patrick

www.drpeay.com
www.batpuppy.com
ppeay is offline   Reply With Quote
Old 05-21-2002, 10:02 AM   #10
HN Tech Support
 
Mike's Avatar
 
Join Date: Jan 2002
Location: Detroit USA
Posts: 3,060
Inorder to take advantage of Server Side Includes technology, on our servers, you must name the extension of the file calling the SSI function(s), .SHTML.

- Mike
__________________
Mike Bowers
Vice President Sales and Development
HostNexus USA

- Need Support? Quickest reponses are found at the Support Helpdesk!
- Need management assistance? Email me directly at sales@hostnexus.com

Mike is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 RC1
Copyright ©2001 - 2009, HostNexus