I have a LAMP environment on Ubuntu 9.04 desktop. I created a directory in /home/user that I use for all my development work called /projects.
I am able to access this directory via localhost/projects as the URI in my web browser; I see a listing of all the separate directories and I am able to click on each directory and see its contents.
Parent Directory
Site-Structure/ 30-Aug-2010 11:39
builds/ 03-Sep-2010 00:02
d6/ 12-Nov-2010 13:25
d7/ 31-Oct-2010 17:44
domain1.com/ 17-Aug-2010 22:48
domain2.com/ 17-Aug-2010 22:48
drupal6_modules/ 05-Nov-2010 16:28
drupal7_modules/ 05-Nov-2010 15:20
mapsonastick/ 19-Aug-2010 00:01
profiles/ 30-Oct-2010 10:46
temp/ 31-Oct-2010 06:59
theming/ 31-Oct-2010 12:04
Except one, d6/!
When I click on the directory localhost/projects/d6 I get this error:
Forbidden
You don't have permission to access /projects/d6 on this server.
Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.6 with Suhosin-Patch Server at localhost Port 80
This is my most used and accessed directory. I used to be able to access this directory and now I can't.
My /etc/apache2/sites-enabled directory has a file called projects with this information in it:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/james/projects/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/james/projects/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Alias /phpmyadmin/ "/var/www/phpmyadmin/"
Alias /phpmyadmin "/var/www/phpmyadmin/"
<Directory "/var/www/phpmyadmin/" >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
Deny from none
</Directory>
</VirtualHost>
I have default, default-ssl and projects in my /etc/apache2/sites-available directory. I haven't changed these files since I first created them. I haven't changed the permissions on any of the directories within /home/user/projects since I first set this up.
What can I do to access this directory from the address bar of a browser again?