Page 1 of 1

IIS Express configuration

PostPosted: March 14th, 2013, 8:04 am
by Martin Chlupac
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:

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?

Re: IIS Express configuration

PostPosted: March 14th, 2013, 11:40 am
by Miloslav Beno
Hi Martin,

Thanks for the question.

We are currently changing the IISExpress integration to not to use clear in handlers section, that should be ready for the next update.

Thanks,
Miloslav

Re: IIS Express configuration

PostPosted: March 15th, 2013, 9:09 am
by Miloslav Beno
This has been finished, it will be ready in the next update.