Change Apache DocumentDirectory path in trueCrypt partition
- by Alan C
Hello, I'm recently moving from windows to linux, so I've setup my machine to dual boot Windows7 and Ubuntu 10.04. I was able to successfully setup Apache on the Ubuntu partition, but I need to move the DocumentRoot since my websites are on a TrueCrypt partition that is in another hard drive so I can have them accessible in both OS. I followed some guides on how to change the path for the DocumentRoot so I end up modifiying the default file at /etc/apache2/sites-available
DocumentRoot /media/truecrypt1/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /media/truecrypt1/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Those are the lines that I've changed, but now when I go to localhost I always get the
Forbidden You don't have permission to access / on this server. Apache/2.2.14 (Ubuntu) Server at localhost Port 80