BroChris
12-20-2002, 05:21 PM
I'm only a little familiar with php and asp. Are there any ssi languages out there that do not require you to change the file extension? I'd rather just keep all of my files .html in order to minimize 404 errors.
|
||||
ssi language w/o extensionBroChris 12-20-2002, 05:21 PM I'm only a little familiar with php and asp. Are there any ssi languages out there that do not require you to change the file extension? I'd rather just keep all of my files .html in order to minimize 404 errors. Spookster 12-20-2002, 05:58 PM Im not positive but I believe you can add in a .htaccess file command to tell the server to parse your .html files as .shtml files. Feyd 12-21-2002, 04:50 PM No such thing as 'SSI languages'...just SSI, but anyways: add this to an htaccess file for your site: AddType text/x-server-parsed-html .html But remember, this will cause all of your pages to be parsed as including SSI commands, even if they do not have any SSI within them...this has the potential to slow down your site in a noticeable manner, especially on slower machines. I'd recommend you go with PHP, instead, for real-world heavy use. BroChris 12-21-2002, 05:57 PM I was under the impression that php, asp, shtml were all server side include languages. Since I am most familiar with php, is there a way to have an html page parsed as a php page? I'm assuming the code that you gave me, Spookster, works for shtml. whammy 12-25-2002, 01:44 AM If it's like any other language, all you should have to do is rename it to .php, or have your parser execute .html scripts as .php, etc. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum