httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Roy <>
Subject [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?
Date Thu, 10 Mar 2016 01:40:33 GMT
Hello everyone,

I hope you can help a semi-experienced Windows apache user, new to 
Linux. I am unable to access files (anything) from http://localhost or 
from any of my vhosts.

This is a new install of Linux Mint 17.x with the default Apache/2.4.7 
(Ubuntu) install at /etc/apache2

My websites, plain html and PHP are kept on a different hard-drive.


The browser give me the following error.

You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at Port 80

Logs give me the following error (/var/log/apache2/error.log)

[Wed Mar 09 19:43:48.458202 2016] [core:error] [pid 26732] 
(13)Permission denied: [client] AH00035: access to / 
denied (filesystem path '/media/username/Terrabyte') because search 
permissions are missing on a component of the path

Other than searching the web in-depth, I have read the following and 
have followed the instructions here:

This is the current state of permissions

namei -m /media/username/Terrabyte/00_Server/htdocs/

f: /media/username/Terrabyte/00_Server/htdocs/
  drwxr-xr-x /
  drwxr-xr-x media
  drwxr-x--- username
  drwxr-x--x Terrabyte
  drwxr-x--x 00_Server
  drwxr-xr-x htdocs
  -rwxrwxr-x index.html

Checking each via terminal confirms these to be true.

I have the following defined in


ServerRoot "/etc/apache2"
DocumentRoot "/media/username/Terrabyte/00_Server/htdocs"

The following has been added to the "Security model" section, a direct 
copy of '<Directory /var/www/>'

<Directory /media/username/Terrabyte/00_Server/htdocs/>
     Options Indexes FollowSymLinks
     AllowOverride None
     Require all granted

apachectl configtest tells me that the syntax is OK.

A final note: I have defined my vhosts in vhosts.conf and have included 
it at the end of my apache2.conf. Commenting it out and restarting 
apache2 makes no difference.

Not sure what other pertinent information I can offer.


Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message