I am trying to run a php website from webmatrix on localhost:19478, the home page works fine. however, any other pages gives me a 404 error if I do NOT type
.phpextension in the URL: localhost:19478/signup will not work, but localhost:19478/signup.php will work.
am I missing some urlrewrite? I already have the fast-cgi configured in my
applicationhost.config:
<locationpath="upload"><system.webServer><handlers><addname="PHP via FastCGI"path="*.php"verb="*"modules="FastCgiModule"scriptProcessor="C:\Program Files (x86)\iis express\PHP\v5.3\php-cgi.exe"resourceType="Either"/></handlers></system.webServer></location>
The detailed error returned from IIS is
DetailedErrorInformation:Module IIS WebCoreNotificationMapRequestHandlerHandlerStaticFileErrorCode0x80070002Requested URL localhost:19478/signup PhysicalPathLogonMethodAnonymousLogonUserAnonymousRequestTracingDirectory
It seems to run the extension-less URL as a static file.
What do I need to do to fix this?