I am running Linux (Lubutu 12.10) on an older machine with a 20 GB hard drive. I have a 1 TB external hard drive with an NTFS partition. This section has a www directory that contains my web content. It is automatically installed at startup as / media / t 515 / NTFS.
I would like to change the apache document directory from / var / www to / media / t515 / NTFS / www.
I need to save the partition as an NTFS partition because I use the same hard drive on another machine with WAMP.
I changed the default file in / etc / apache 2 / sites - available for the new location and restarted the server. When I tried to go to the local host, I got an error:
403 Forbidden
You do not have permission to access this server.
Then I changed the automount settings in fstab, including the option "umask = 0000", and then in "umask = 2200", to no avail. I still get the same error message.
I can access the NTFS partition without problems from other applications and at login as any user. But Apache, it seems, cannot (or does not want) access the partition. How to grant apache permission to use a directory in an NTFS partition?
Tom v source
share