Page 1 of 1

PHP and SSI

Posted: Wed Jun 02, 2004 7:10 am
by amolkad
Hi,

I want to develope php page which has SSI. I mean to say that the extension should be .html and not .php.

Can any one tell me the way by which I can achieve the same.

Thanx in advance.

Amol

Posted: Wed Jun 02, 2004 7:21 am
by jason
Well, which is it? You want to develop a PHP page with SSI or have your extension be .html instead of .php?

Also, why do you think you need to use SSI?

Posted: Wed Jun 02, 2004 7:24 am
by malcolmboston
sounds to me like hes after what i commonly refer to as 'tricking' users into thinking its .html instead of .php

is'nt this HTACCESS?

Posted: Wed Jun 02, 2004 3:36 pm
by dull1554
or he could add a handler to make the web server always parse .html files with the php interpreter

Posted: Wed Jun 02, 2004 8:38 pm
by evilmonkey
If he doesn't own the server, like most people out there, he can't really do that. I think it's possible through .htaccess though.

Cheers!

Posted: Wed Jun 02, 2004 9:27 pm
by dull1554
well if he buys hosting and his host offers cpanel, then you can add apache handlers through the interface, rather easy infact