Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds documentation for Forbidden errors #231

Merged
1 commit merged into from
Mar 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions guides/v1.0/install-gde/prereq/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,19 @@ Use this section to enable Apache rewrites and specify <code>.htaccess</code> if
2. Locate the following block.

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
<Directory>

3. Change the value of `AllowOverride` to `<value from Apache site>`.

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride <value from Apache site>
Order allow,deny
allow from all
Options Indexes FollowSymLinks MultiViews
AllowOverride <value from Apache site>
Order allow,deny
Allow from all
<Directory>

4. Save the file and exit the text editor.
Expand All @@ -191,6 +191,19 @@ Use this section to enable Apache rewrites and specify <code>.htaccess</code> if

Continue with the next prerequisite (<a href="{{ site.gdeurl }}install-gde/prereq/php-ubuntu.html">PHP Ubuntu</a>), or start your installation by going to <a href="{{ site.gdeurl }}install-gde/install/composer-clone.html">Install Composer and clone the Magento repository</a>.

<h3 id="install-ubuntu-apache-rewrites">403 Forbidden Errors</h3>

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 <a href="http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#allow" target="_blank">Allow directive</a>.

For instance:

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride <value from Apache site>
Order allow,deny
Allow from all
<Directory>

<h2 id="install-prereq-apache-centos">Installing Apache on CentOS</h2>

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