PDA

View Full Version : SSI and HTML



ebird
November 26th, 2000, 14:55
Hi all,

I think people can "tell" machine to read "html" files as "shtml" files by adding one line to ".access" file. But I forgot how to do it.

Can anyone help?

Thanks.

megacool
November 26th, 2000, 15:57
It doesnt work on all servers. However check it out on

http://www.useforsite.com (tutorials>ssi)

Ciao

Koolguy
November 26th, 2000, 15:59
Try this:

AddHandler server-parsed .html

Nick
November 26th, 2000, 16:33
Originally posted by Koolguy
Try this:

AddHandler server-parsed .html

While your at it, go ahead and set it to read ALL file extensions. That way if you ever use a WYSIWYG editor it wont screw up :)

AddHandler server-parsed .html .htm .shtml .shtm

And if you wanna trick people into thinking your really really smart, put something like this:

AddHandler server-parsed .php .php4 .php3 .cfm .jsp .gsp

and use one of those extensions and you get that

"Wow that guy's smart. I hear jsp is hard to learn" ;)

perlboy
November 30th, 2000, 17:09
*grin* Yeah or go along and make something like

myfile.domainname

So like for the domainname Perlboy.org .

index.perlboy .

Makes people think that you have created your own extension.