Page MenuHomePhabricator

Update configuration instructions for Apache 2.4
ClosedPublic

Authored by skyronic on Nov 8 2013, 10:46 AM.
Tags
None
Referenced Files
F19506869: D7529.id16984.diff
Fri, Jan 9, 5:08 PM
F19504089: D7529.id16992.diff
Fri, Jan 9, 3:35 AM
F19504088: D7529.id16984.diff
Fri, Jan 9, 3:35 AM
F19504087: D7529.id.diff
Fri, Jan 9, 3:35 AM
F18808073: D7529.id16992.diff
Oct 19 2025, 4:47 AM
F18808072: D7529.id16984.diff
Oct 19 2025, 4:47 AM
F18808071: D7529.id.diff
Oct 19 2025, 4:47 AM
F18790645: D7529.id.diff
Oct 15 2025, 4:18 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

Branch
apache26docfix
Lint
Lint Passed
Unit
No Test Coverage

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.