You are here: RE: [PHP] Installing under IIS6.0 « PHP « IT news, forums, messages
RE: [PHP] Installing under IIS6.0

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация