RE: Installing under IIS6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux