From 99a96a75a202303914907d48d9eb515084d8bda0 Mon Sep 17 00:00:00 2001 From: Bryant Luk Date: Fri, 20 Mar 2015 14:25:27 -0500 Subject: [PATCH] Adds documentation for Forbidden errors Due to a possible change in magento/magento2#533 , we should add a statement in case users can't access their Magento site due to Apache config. --- guides/v1.0/install-gde/prereq/apache.md | 29 +++++++++++++++++------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/guides/v1.0/install-gde/prereq/apache.md b/guides/v1.0/install-gde/prereq/apache.md index ae579701645..dde271061da 100644 --- a/guides/v1.0/install-gde/prereq/apache.md +++ b/guides/v1.0/install-gde/prereq/apache.md @@ -163,19 +163,19 @@ Use this section to enable Apache rewrites and specify .htaccess if 2. Locate the following block. - Options Indexes FollowSymLinks MultiViews - AllowOverride None - Order allow,deny - allow from all + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny + Allow from all 3. Change the value of `AllowOverride` to ``. - Options Indexes FollowSymLinks MultiViews - AllowOverride - Order allow,deny - allow from all + Options Indexes FollowSymLinks MultiViews + AllowOverride + Order allow,deny + Allow from all 4. Save the file and exit the text editor. @@ -191,6 +191,19 @@ Use this section to enable Apache rewrites and specify .htaccess if Continue with the next prerequisite (PHP Ubuntu), or start your installation by going to Install Composer and clone the Magento repository. +

403 Forbidden Errors

+ +If you encounter 403 Forbidden errors when trying to access the Magento site, you may need to update your Apache configuration or your virtual host configuration. You should make sure that Apache is allowing visitors to the site via the Allow directive. + +For instance: + + + Options Indexes FollowSymLinks MultiViews + AllowOverride + Order allow,deny + Allow from all + +

Installing Apache on CentOS

Magento requires Apache use server rewrites. You must also specify the type of directives that can be used in .htaccess, which Magento uses to specify rewrite rules.