Apache2 Document Root change produces 403 error

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
wayfarer51
Level 1
Level 1
Posts: 16
Joined: Tue Jun 30, 2020 12:07 am
Location: Alexandria, Virginia, USA

Apache2 Document Root change produces 403 error

Post by wayfarer51 »

Hi folks,

When I change /etc/apache2/apache2.conf and /etc/apache2/sites-available/000-default.conf from /var/www/html to /home/wayfarer51/www I invariably get a 403 - Forbidden error in Firefox after running sudo service apache2 restart.

This the from /var/log/apache2/error.log

Code: Select all

:
[Sun Jul 05 22:59:06.385560 2020] [core:error] [pid 19120] (13)
Permission denied: [client 127.0.0.1:58940] AH00035: access 
to / denied (filesystem path '/home/wayfarer51/www') 
because search permissions are missing on a component of the path
I have no idea what that means. I've been using LM for about 3 weeks and had a WAMP installed painlessly on Win10. Will you help me?

Thanks.

wayfarer51
Post Reply

Return to “Newbie Questions”