Posted by Kim Andrι Akerψ on 10/06/06 20:27
laredotornado@zipmail.com wrote:
> Hi,
>
> I'm running PHp 4.4.4 on Apache 2. In a particular directory, I would
> like .html pages to be run thorugh the PHP interpreter -- i.e. have
> "<?php" tags evaluated. Note, that I only want this within a single
> directory and not the entire web server. How could I set this up?
Place the following in a .htaccess file in the directory you want this
to happen:
AddType application/x-httpd-php .html
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|