I have run out of space in the partition that holds my document root (/var/www) and have moved the contents of /var/www to /home/michael/www (which is on a different partition). I then deleted /var/www and created a symbolic link in /var called www which points to /home/michael/www. This all works and I can see the files just fine (directory listings are provided below).

After reviewing many other posts, I believe that I have all the correct permissions (see below) and appropriate entries in my default apache2 configuration file (/etc/apache2/sites-enabled/default) for SymLinks etc and point to the new location of the document root.

Please could someone help me figure out what I am doing wrong. Thank you.

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

michael@The-Beast:/var$ ls -al
lrwxrwxrwx 1 www-data www-data 17 Mar 6 23:37 www -> /home/michael/www

michael@The-Beast:/var$ cd /home/michael/www
michael@The-Beast:~/www$ ls -al
drwxr-xr-x 5 www-data www-data 4096 Mar 6 21:05 .
drwx-w--w- 111 michael michael 12288 Mar 7 10:51 ..
drwxr-xr-x 33 www-data www-data 4096 Mar 5 14:59 joomladev
drwxr-xr-x 19 www-data www-data 4096 Dec 22 14:05 joomla-old
drwxr-xr-x 2 www-data www-data 4096 Mar 6 19:04 jooomlatest
-rwxr-xr-x 1 www-data www-data 23 Oct 20 20:54 phpinfo.php
-rwxr-xr-x 1 www-data www-data 970 Oct 21 11:33 robots.txt

[error] [client] (13)Permission denied: access to /phpinfo.php denied
[error] [client] (13)Permission denied: access to /favicon.ico denied

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /home/michael/www
<Directory />
Options FollowSymLinks
AllowOverride None
<Directory /home/michael/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/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 ::1/128


barraclm Posts: 1Joined: 07. March 2013 12:50XAMPP Version: 1.8.0Operating System: Ubuntu 12.04