[Logo] smithproject.org
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
Server side includes shtml  XML
Forum Index -> General Discussion
Author Message
jln_00



Joined: 05/04/2008 04:50:38
Messages: 2
Offline

Hey guys,

New user to smith. . . . My webhost is Apache which requires shtml extensions instead of html for server side includes. This was before we installed smith where I know I can use cfincludes. Eventually the whole site will be converted to coldfusion pages, but for now its mostly .shtml files.

So we have a header and footer which are also .shtml files. Smith seems to not like the .shtml extension. If I view the header.shtml it is fine. However if I have it included on a shtml page (either using cfinclude or server side include file), Smith seems not to translate it. The source just shows the source code of <cfinclude template="header.shtml">. If the calling file becomes a .cfm file and the include is still a .shtml it works fine. But it does NOT like the calling file being .shtml. I've also tested it out on a full coldfusion server, where both are .shtml and it works fine. So it points me to Smith. . . is there anything I am missing? I would hate to have to redo all my pages to cfm, because that would effect all the links and would require a lot more work.

Thanks for any help!
jln_00



Joined: 05/04/2008 04:50:38
Messages: 2
Offline

Well I didn't see this earlier, but it basically comes down to configuration. The answer is here:

http://www.smithproject.org/forum/posts/list/146.page

Thanks to Cars2007!
 
Forum Index -> General Discussion
Go to:   
Powered by JForum 2.1.6 © JForum Team