Closed porebskk closed 8 years ago
Can't speak for the validity of this however I'd argue it would be much better to provide alternative configurations outlined in the document. Like:
Apache Config >= 2.4
//config with new line
Apache Config < 2.4
//config without new line
Reasoning being: we're lucky if people are reading documentation, but literally noone reads the inline comments of code-samples :)
Commited your proposed changes.
Order allow,deny
Allow from all
should be removed from the 2.4 example, as the Require all granted
syntax is what replaced them. (See the Apache 2.4 migration guide: https://httpd.apache.org/docs/trunk/upgrading.html)
As an aside (and not a problem with this PR), this information is already correct on the installation page: http://framework.zend.com/manual/current/en/ref/installation.html. I'm not sure why we have duplicate (and less detailed) install instructions on the getting started page.
Added feedback from @tfountain
Since Apache 2.4 a new config is required to avoid "Permission denied"-pages.