Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed Ubuntu 9.10 (was on 9.04 before). I'm running a local development environment with Eclipse where my workspace is located at /home/jeremy/workspace. I installed the LAMP server using tasksel. I created a new virtual host pointing at a subdirectory in my workspace:


See below for the relevant part of my virtual host file which I started by copying the default host file. I've tried everything I can think of but no matter what I just get a 403 Forbidden error with this in my Apache log:

[client] (13)Permission denied: access to / denied

I set the group of the /home/jeremy/workspace/ directory and everything below to www-data. I also added my user (jeremy) to that group. I first tried chmod'ing that directory to 755. Didn't work. Then I went extreme and did 777 and that still didn't work! Has anybody got any ideas what is going on here? Is this a known issue for Apache on Ubuntu 9.10? I have made the appropriate entry in my hosts file so I know for sure that I'm accessing this locally.

<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /home/jeremy/workspace/

    <Directory />
    	Options FollowSymLinks
    	AllowOverride None

    <Directory "/home/jeremy/workspace/">
    	Options Indexes FollowSymLinks MultiViews
    	AllowOverride All
    	Order allow,deny
    	allow from all
share|improve this question
up vote 0 down vote accepted

Check the permissions on every directory from /home/jeremy on up, one of them may not be allowing www-data access. I know on the 9.10 install I just did, home directories are created 700 by default, which would certainly restrict this.

share|improve this answer
Yes! That was it. I chmod'd /home/jeremy to 755 and it worked. Thank you! – Jeremy Hicks Nov 6 '09 at 19:31
@Jeremy, be sure to accept Graeme's answer as correct if it solved your issue =) – Kyle Smith Nov 6 '09 at 20:33
heh, thanks Kyle. – Graeme Nov 6 '09 at 22:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.