Re: simple config. question
| From: | Alain Fontaine | Date: | Mon, 05 Feb 2001 21:42:27 +0000 |
| Subject: | Re: simple config. question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38320@lists.php.net to get a copy of this message | ||
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" <creinig@mayn.de> a écrit dans le message news:
01020520230301.00608@chrisbig...
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net