Related Items  

Linux and Windows IT Support  

We make IT Support easy!

Windows, Apple and Linux IT support and services.

For Software and Web Development.

Login or Register  

If you wish to contribute an article, please login or register.

403 Forbidden after changing DocumentRoot directory

PrintE-mail

Q. I am getting a Forbidden 403 error after I've changed the DocumentRoot in Apache for my domain. What do I do?

A. The solution is quite simple:

Edit the apache2.conf (/etc/apache2/apache2.conf) and add the new directory to default security model:

<Directory /your/new/dir>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

Restart apache and you're done

Source: https://www.altconsulting.com/kb/linux/136-403-forbidden-after-changing-documentroot-directory

 

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
yvComment v.1.24.0
   
Copyright © 1999 - 2018 Virtual Helpme | IT Services Catered to Your Business | Original Template: Allrounder