Page MenuHomePhabricator

Update configuration instructions for Apache 2.4
ClosedPublic

Authored by skyronic on Nov 8 2013, 10:46 AM.
Tags
None
Referenced Files
F18110763: D7529.id16992.diff
Mon, Aug 11, 11:36 PM
F18105703: D7529.id.diff
Sun, Aug 10, 7:08 PM
F18105020: D7529.id16984.diff
Sun, Aug 10, 3:45 PM
F18099692: D7529.diff
Sat, Aug 9, 7:48 AM
F18084448: D7529.id16992.diff
Tue, Aug 5, 3:39 PM
F17938247: D7529.diff
Jul 31 2025, 1:58 AM
F17899376: D7529.diff
Jul 29 2025, 8:37 AM
Unknown Object (File)
Jun 3 2025, 4:23 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.