Dynamic IIS Compression Support (Real solution)
Currently there is no way to configure what is compressed. (Well you can change the ApplicationHost.config if you host the IIS Web Core under Worker role). This is really needed to compress WCF messages (application/soap etc.)
Hello, Pekkah, and thanks for your note. This is now possible to configure via web.config, and we will soon post a blog about how to do this. Please check our blog regularly for more info: http://www.windowsazure.com/en-us/community/blog/
Four years :D
Oh that's right, we just released the runtime part that enables PHP 5.5, but the Portal UI part is not quite there. I think it will be up pretty soon. This gives you two angles to solve this:
1. wait for the portal change and use 5.5. 'straight'
2. use the applicationhost.config transform mechanism right now
I will document #2 tonight and point you to it.
@David: Thanks for the inputs. I already created a thread for that (http://social.msdn.microsoft.com/Forums/windowsazure/en-US/3188eb55-16ba-4679-b9ea-41f55ed34209), but no success so far.
I am using PHP 5.5.5 because WebSites only allow me to choose from 5.3 and 5.4.
The transform mechanism does allow that (more info coming). But what surprises me here is that the default applicationhost.config generated for Azure Web Sites already has the exact values that you are trying to set for these two timeouts:
<application fullPath="D:\Program Files (x86)\PHP\v5.5\php-cgi.exe" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000" maxInstances="15">
Though in this case it seems you're bringing your own php 5.5 and not using the one that comes with WAWS?
BTW, might be best to start a thread on http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazurewebsitespreview, as this suggestion forum doesn't work as well to post code snippets, etc...
We'll get you working!
Although my problem is also in overriding a parameter in applicationhost.config, my problem is with FastCgi/application.
I have enabled php 5.5 via Azure WebSites management page custom handlers, but this leaves me with a default timeout too short.
When I try to enable it like this (http://www.iis.net/configreference/system.webserver/fastcgi#005) it seems to be locked down in the applicationHost.config of the system.
If you can findd a way to do something that has the same effect as this in Azure WebSites at the moment, I would be very very gratefull.
%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='d:\home\site\wwwroot\bin\php55\php-cgi.exe'].activityTimeout:600
%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='d:\home\site\wwwroot\bin\php55\php-cgi.exe'].requestTimeout:600
I assumed that if you could override the dynamicTypes, maybe I could apply it to my case.
Sorry for the distraction if this is not the case.
@Joao: We'll get some more info out there soon (I'll aim for tonight). So basically, what you're trying to do is add an entry for mimeType="application/soap" under system.webServer\httpCompression\dynamicTypes, correct?
Any updates on this "config override" for changing ApplicationHost.config?
I'm very interested (as in desperatly looking for a solution, or else will have to migrate away from Azure) to increase FastCGI timeout for custom PHP handler.