Need a quality coder? The author of this blog is now freelancing:
Freelance PHP/CakePHP Web Developer Bristol / Southwest UK

File uploads to PHP scripts hang in Safari bug

15 Jun
2010

I was experiencing this issue with some larger file uploads using the CakePHP Media plugin.

https://bugs.webkit.org/show_bug.cgi?id=5760

Add this to the virtual host declaration in your Apache config file to fix it:

1
2
3
4
5
6
<VirtualHost x.x.x.x:x>

    # Prevent Safari from hanging on uploads
    BrowserMatch  Safari  nokeepalive

</VirtualHost>

Comment Form

top