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)
Fri, Oct 25, 1:02 PM
Unknown Object (File)
Oct 23 2024, 9:34 PM
Unknown Object (File)
Oct 10 2024, 5:37 PM
Unknown Object (File)
Sep 9 2024, 9:04 PM
Unknown Object (File)
Aug 29 2024, 12:23 PM
Unknown Object (File)
Aug 25 2024, 3:06 AM
Unknown Object (File)
Aug 24 2024, 8:19 AM
Unknown Object (File)
Aug 21 2024, 9:42 AM

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.