IIS Express configuration

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

IIS Express configuration

Postby Martin Chlupac » 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:

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?
Last edited by Martin Chlupac on March 14th, 2013, 11:52 am, edited 1 time in total.
Martin Chlupac
 
Posts: 4
Joined: March 14th, 2013, 7:49 am

Re: IIS Express configuration

Postby Miloslav Beno » March 14th, 2013, 11:40 am

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
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: IIS Express configuration

Postby Miloslav Beno » March 15th, 2013, 9:09 am

This has been finished, it will be ready in the next update.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 43 guests

cron

User Control Panel

Login

Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 43 guests