IIS Express configuration
Posted: March 14th, 2013, 8:04 am
Hi,
I am currently testing your VS extension and it works just fine. With two exceptions - first is the missing Javascript debugging (mentioned in other posts here) and second - problematic default configuration of IIS Express that you use.
My PHP project consists of the usual web stuff (php, js, css, images, ...) but the default configuration section generated by your extension blocks serving of non-php files:
Please note the commented-out <clear /> tag that if enabled prohibits the static file from serving - at least in my case. What am I doing wrong?
I am currently testing your VS extension and it works just fine. With two exceptions - first is the missing Javascript debugging (mentioned in other posts here) and second - problematic default configuration of IIS Express that you use.
My PHP project consists of the usual web stuff (php, js, css, images, ...) but the default configuration section generated by your extension blocks serving of non-php files:
- Code: Select all
<location path="Viewer">
<system.webServer>
<handlers>
<!-- <clear /> -->
<add name="php-5.3.10" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="c:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" requireAccess="Script" />
</handlers>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</location>
Please note the commented-out <clear /> tag that if enabled prohibits the static file from serving - at least in my case. What am I doing wrong?