HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 3
>
Installation/Configuration
> apache directive for executing php code from inside html?
PDA
View Full Version :
apache directive for executing php code from inside html?
manarak
4th September 2009, 19:04
is there an apache directive that can be put in vhost.conf in order to execute php code contained in files with extension .html ?
till
4th September 2009, 19:16
If the site uses mod_php, add the following line to the apache directives field:
AddType application/x-httpd-php .php .php3 .php4 .php5 .html
manarak
4th September 2009, 19:40
it does!
thanks, I'll try that.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.