In some cases using the HTTP Response Headers option to manually set the server still shows Microsoft IIS server headers, for example:
Open configuration editor
then go to section system.webServer/security/requestFiltering and update the removeServerHeader to True
With codeplex gone it can be a bit hard to find the real download for some things. I had to search an old server archive to find this.
Php manager 1.2 x64,
PHPManagerForIIS-1.2.0-x64.msi
This is the original v1.2 64bit download from 2012.
Enjoy.
I also found the older 1.1.1 download should you want that instead,
PHPManagerForIIS-1.1.1-x64.msi
You need the Visual C++ Redistributable
For Php v7.2,
https://aka.ms/vs/15/release/VC_redist.x64.exe The .ms(Microsoft) link looks a bit odd but you can find it on the official site here: https://visualstudio.microsoft.com/downloads/ under other tools and frameworks.
For Php v7.0, v7.1,
https://www.microsoft.com/en-us/download/details.aspx?id=48145
For Php v5.6,
https://www.microsoft.com/en-us/download/details.aspx?id=30679
Enjoy!
maxRequestLength is in KB
- unspecified default: 4096 or 4MB
- Specifies the maximum content length of a request to be supported by ASP.NET
- example usage for 50MB limit in a website project: edit web.config
<configuration>
<system.web>
<httpRuntime maxRequestLength="51200" />
</system.web>
</configuration>
maxAllowedContentLength is in B
- unspecified default: 30000000 or ~28.6MB
- Specifies the maximum content length of a request to be supported by IIS
- example usage for 50MB limit in a website project: edit web.config
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="51200000" />
</requestFiltering>
</security>
</system.webServer>
</configuration>
This method can be used to fix duplicate content errors and make it so google only indexes one version of your urls, which will prevent you from getting a negative modifiers.
In order to do this you have two options.
- Use the proper canonical tags, for example place the following code at the top of your website:
- Use the following script to automate the process and only allow lower case urls to be viewed on your site, create a global.asax file and place it in your site's main directory.
If you plan to use both methods be sure to use only lower case for your canonical tags or you will end up with problems.