I'm using Apache 2 in Ubuntu 14.04 . I moved the www/html
folder to my other /media/Dados/www
partition. But that's not the problem.
The problem starts when I set a vhost to a subdirectory:
Subdirectory: /media/Dados/www/ak-vitrine
Archive on sites-available:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ak-vitrine.dev
ServerAlias www.ak-vitrine.dev
DocumentRoot "/media/Dados/www/AK-Vitrine"
<Directory "/media/Dados/www/AK-Vitrine">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
When you access link it shows me the list of folders in the root /media/Dados/www/
folder. How to solve?