|
Posted by Jay Blanchard on 09/20/05 15:18
[snip]
However, this really isn't what I'm looking for. I'm simply looking for
a way to parse PHP code from within existing HTML pages, so that I can
migrate a site from Apache to IIS6.0.
Like I said, if I were using Apache, I would just add .html to my
AddType directive, and call it good. Is it not this simple under IIS?
[/snip]
Sorry, I just saw this thread.
In order to handle HTML you have to allow it to be handled via the ISAPI dll
Open Internet Information Services, right click on the web site, click
Properties.
On the Home Directory tab make sure Execute Permissions is set to Scripts
Only.
Click the Configuration button just to the right of that.
Click Add.
In the Executable box put the path to yous PHP ISAPI dll
In the Extension box put .html
Click OK until you get back to the IIS main. Stop the web server, then
restart. HTML files will now be handled through the PHP dll.
[Back to original message]
|