Christian,

Wouldn't this put unnecessary load on the webserver? Every .htm and .html
document, even if it doesn't contain any line of PHP code, would go through
the parser... ?

"Christian Reiniger" <[EMAIL PROTECTED]> a écrit dans le message news:
[EMAIL PROTECTED]
On Monday 05 February 2001 20:14, Shane McBride wrote:
> Unless I am mistaken, I am pretty sure you need to have sometype of
> .php extension. Unless you could put a line in the httpd.conf file
> like: AddType application/x-httpd-php .html

Well, that's exactly the right way :)

Perhaps a more "generous" setup would be even better though:

AddType application/x-httpd-php .html .htm .php3 .php .phtml

--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

(A)bort (R)etry (P)retend this never happened ...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to