Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
RewriteEngine On
RewriteBase /
RewriteRule ^(.+).asp$ $1.php [L]
AddType application/x-httpd-php .php .phtml .asp
Feherke said:There are rewrite engine-like extensions for IIS too.
To clarify, I just mentioned it to inform the OP about the possibilities. I do not suggest to use URL rewriting. I had bad experience with mod_rewrite's version compatibility and debugging it is not a trivial task for beginners. So I also suggest to set the handler.jpadie said:yes - but why would you use them when you can change the handler?