IIS + PHP + Page with lots of images = Intermittent 403 errors

Posted by samJL on Server Fault See other posts from Server Fault or by samJL
Published on 2012-10-18T16:52:16Z Indexed on 2012/10/18 17:04 UTC
Read the original article Hit count: 188

Filed under:
|
|
|
|

I am using an up-to-date Server 2008 R2 Datacenter, running IIS 7.5 and PHP 5.3.6/FastCGI

On PHP pages with lots of images (60+), some of the images fail to load

It is not always the same images-- on each page refresh an image that worked previously may not load, while an image that did not now does

Looking at the Net tab in Firebug reveals that the failing image requests are 403 errors

All of the images are located on the server in question, and the images directory has the correct permissions

I believe this problem is the result of a limit on requests

All of my attempts at researching this problem point to maxConnections setting in IIS, yet mine is set at the highest/default of 4294967295 (maxBandwidth too)

I am also running a ColdFusion site on the same IIS installation, and it does not suffer from 403's on pages with lots of images

I am left thinking that there is another connection limit (in PHP or FastCGI?) overriding the IIS connection limit

I don't see anything that looks like a request limit in the php.ini, what am I missing?

Any help would be appreciated, thank you

© Server Fault or respective owner

Related posts about windows-server-2008

Related posts about php