Page MenuHomePhabricator

Update configuration instructions for Apache 2.4
ClosedPublic

Authored by skyronic on Nov 8 2013, 10:46 AM.
Tags
None
Referenced Files
F15420028: D7529.diff
Fri, Mar 21, 10:42 AM
F15418637: D7529.id16992.diff
Fri, Mar 21, 12:34 AM
F15416863: D7529.id16984.diff
Thu, Mar 20, 2:06 PM
F15413175: D7529.id.diff
Wed, Mar 19, 5:21 PM
F15404410: D7529.diff
Tue, Mar 18, 7:37 AM
F15402732: D7529.id16984.diff
Tue, Mar 18, 12:01 AM
F15342934: D7529.diff
Sun, Mar 9, 9:39 PM
Unknown Object (File)
Feb 17 2025, 9:03 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.