I'm trying to change Documentroot of apache from /var/www on SD to an usb stick.
I created a dir in /mnt/ called webserver and mounted the usb stick with
Code: Select all
sudo mount /dev/sda1 /mnt/webserverCode: Select all
DocumentRoot /mnt/webserver/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /mnt/webserver/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
..
Forbidden
You don't have permission to access / on this server.
Why??