I have a virtual server (Windows 2008 R2) with IIS 7.5 and a xxx.php file in one of my websites. This php file contains no php-code and I don't want to install any php-module, I only want the server to return the content of the php file as if it was a normal .html file.
I have a file with the same content named xxx.html in the same directory and that works, but instead of the php file I get a 404 error.
It's a system that was ported from php to asp.net mvc. Many users have a bookmark to this file and that's why I want to keep it (with the extension). But I found a different way by using using routes in asp.net mvc. Still funny that you cannot configure IIS to simply return php files the same way as html files.