Page 1 of 1

Processing .html with PHP

Posted: Sat Dec 11, 2004 4:54 am
by M77
Is there possibility to make when user enters in browser "www.domain.com/index.html" return him a page generated NOW with PHP? Maybe there is possibility to configure this way web server?

Posted: Sat Dec 11, 2004 5:09 am
by kettle_drum
Sure it is - you just need to tell your server to parse the .html files.

In apache:

Code: Select all

AddType application/x-httpd-php .html

Posted: Sat Dec 11, 2004 11:58 pm
by M77
kettle_drum, thanx