05-20-2020, 02:02 AM
The logs should give some more information. From what I see, that you have looks correct. Note that this is the apache direct that you do want to use: <Directory "/home/apache/tactic" >
It may also be file permissions. The user www-data is not usually a user you can log in to, but you can temporarily change that in the /etc/passwd file:
For example (for an apache user):
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
you can switch it to:
apache:x:48:48:Apache:/usr/share/httpd:/bin/bash
This will allow you to su from root user:
# su apache
(in your case, it would be www-data).
Then try to navigate to the context folder and see if the user is permitted.
It may also be file permissions. The user www-data is not usually a user you can log in to, but you can temporarily change that in the /etc/passwd file:
For example (for an apache user):
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
you can switch it to:
apache:x:48:48:Apache:/usr/share/httpd:/bin/bash
This will allow you to su from root user:
# su apache
(in your case, it would be www-data).
Then try to navigate to the context folder and see if the user is permitted.