0

I know there's a wealth of Apache documentation, but I can't seem to find the answer.

With the default documentroot - /var/www/html - all is fine. Permissions are - drwxr-xr-x 2 root root 4096 Feb 21 19:06 html/. Permissions for the file within this are: -rw-r--r-- 1 root root 10918 Feb 21 19:06 index.html

When I change the documentroot to /mnt/mounty/testing it no longer works ("Forbidden..."). Permissions for the directory look identical

drwxr-xr-x 2 root  root  4096 Jan 24 18:53 testing/

The html file within this has same owner / group and even more liberal permissions (yes I know not to 777 but this is a local test).

-rwxrwxrwx 1 root  root 39806 Jan 24 18:38 index.html*

What am I doing wrong? I've restarted Apache at every change. The parent folders of the original doc root and the new one are different - but surely this can't matter?

Roger06
  • 133

0 Answers0