From 769e921e65412aefa5f4eea43f4c4e38e939d1e4 Mon Sep 17 00:00:00 2001 From: Anirudh Sanjeev Date: Fri, 8 Nov 2013 09:58:01 -0800 Subject: [PATCH] Update configuration instructions for Apache 2.4 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 Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran, asherkin Maniphest Tasks: T4061 Differential Revision: https://secure.phabricator.com/D7529 --- .../user/configuration/configuration_guide.diviner | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/docs/user/configuration/configuration_guide.diviner b/src/docs/user/configuration/configuration_guide.diviner index 7c09335a5f..5a5e862750 100644 --- a/src/docs/user/configuration/configuration_guide.diviner +++ b/src/docs/user/configuration/configuration_guide.diviner @@ -55,13 +55,24 @@ this: If Apache isn't currently configured to serve documents out of the directory -where you put Phabricator, you may also need to add a section like this: +where you put Phabricator, you may also need to add `` section. The +syntax for this section depends on which version of Apache you're running. +(If you don't know, you can usually figure this out by running `httpd -v`.) +For Apache versions older than 2.4, use this: + name="Apache Older Than 2.4" Order allow,deny Allow from all +For Apache versions 2.4 and newer, use this: + + name="Apache 2.4 and Newer" + + Require all granted + + After making your edits, restart Apache, then continue to "Setup" below. = Webserver: Configuring nginx = -- 2.54.0