Processing .html with PHP
Moderator: General Moderators
Processing .html with PHP
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?
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
Sure it is - you just need to tell your server to parse the .html files.
In apache:
In apache:
Code: Select all
AddType application/x-httpd-php .html