I'm trying to setup the Symfony 3 on my local server and the problem is I can't make my Virtual Hosts working.
vhosts file:
<VirtualHost *:80>
ServerName localhost.dev.lt
ServerAlias www.localhost.dev.lt
DocumentRoot /www/testProject/web
<Directory /www/testProject/web/>
AllowOverride None
Order Allow,Deny
Allow from All
</Directory>
# uncomment the following lines if you install assets as symlinks
# or run into problems when compiling LESS/Sass/CoffeScript assets
#<Directory /www/testProject/>
# Options FollowSymlinks
#</Directory>
</VirtualHost>
Also I added localhost.dev.lt into my hosts file. Mod Rewrite module is also enabled.
Could the DocumentRoot URL be written wrong? If I go to http://localhost.dev.lt/testProject/web/ Then it's working, the problem is that I get root directory then I go to http://localhost.dev.lt instead of /web.
AllowOverride All- kero