Hot answers tagged php
content-length can't be set if the Transfer-Encoding is set to be chunked. At the time of sending the headers, the server is unaware of how much data it will finally send. Each chunk has it's own length header field (see the RFC). If you think about it, unlike with a static HTML file, the web server has no way of knowing how much data will be generated by a ...
del line 3 and 4 on that snippet. Your config should looks like this <Directory /> Options Includes Indexes FollowSymLinks MultiViews AllowOverride None </Directory>
Only top voted, non community-wiki answers of a minimum length are eligible