PDA

View Full Version : FrontPage Extensions / PHP Antics


bored
05-16-2003, 04:52 PM
I recently landed a client who wanted some web madnesd done to his site. This guy is a MS NUT and refuses to change anytything he has to make it work better. Which is understandable; once you are used to something it's hard to change yoru path. Anyway. I've created a script for him that runs on the homepage of his site. I wrote it in PHP therefore I had to change the file extension from .html to .php, naturally. Once I uploaded it and saw that my script worked fine and such, I noticed that his frontpage extensions did NOT work. I spent about an hour trying to figure out why the hell they didn't and came to the conclusion that the FPE will not process anything but .html, .htm, .asp...etc (Microsoft nazis!) I was curious if anyone knew how to 'map' different extensions through the FPE so you could actually use the .php extension. Right now I had to map the .html extension through IIS to parse with PHP and I'd rather not keep it that way. I just needed something to make him happy.

Let me know what you think.