This is a Ubuntu 12.04 desktop setup.
I have in my virtual host the following :
anjanesh@desktop:/etc/apache2/sites-available$ cat domain
<VirtualHost *:80>
ServerName local.domain.com
DocumentRoot /home/anjanesh/vhosts/domain/
<Directory /home/anjanesh/vhosts/domain>
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
AllowOverride is set to All.
But nothing in my .htaccess (local.domain.com) works. I don’t know why.
- .htaccess in localhost works. (http://locahost/anjanesh)
- /home/anjanesh/vhosts is actually a symlink to
/home/anjanesh/Dropbox/vhosts. I even gave the proper path (Dropbox)
in the virtual host file, still no effect.
Is there something else I got to enable ?
Maybe you should use followSymLink before the link in the folder hierarchy?