Page MenuHomePhabricator

Update configuration instructions for Apache 2.4
ClosedPublic

Authored by skyronic on Nov 8 2013, 10:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 3:00 PM
Unknown Object (File)
Thu, Dec 19, 8:18 PM
Unknown Object (File)
Mon, Dec 16, 7:38 AM
Unknown Object (File)
Sat, Dec 14, 4:47 PM
Unknown Object (File)
Wed, Dec 11, 10:38 AM
Unknown Object (File)
Wed, Dec 11, 12:14 AM
Unknown Object (File)
Sat, Dec 7, 10:19 PM
Unknown Object (File)
Sat, Dec 7, 2:43 PM

Details

Summary

Fixes T4061. Following the instructions in the documentation with Apache 2.4 (which is installed
with Ubuntu 13.10 and other distributions) will result in a "403 forbidden" error.

The instruction provides information on how to fix it.

Test Plan

Tested on apache 2.4 install

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

<IfModule mod_authz_core.c>
    # Apache 2.4
    Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Allow from all
</IfModule>

Closed by commit rP769e921e6541 (authored by @skyronic, committed by @epriestley).

I kind of split the difference in the pull, see the updated diff. Yell if I messed anything up.

@epriestley - This is exactly how I planned to re-write it :)

@asherkin - actually that's a pretty cool hack. I am trying to create a Vagrant image of phabricator and I used your snippet because your approach is more bullet-proof across different versions.