Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

running PHP from Webmatrix shows error 404

$
0
0

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 

.php
 extension 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?


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>