I need to configure my virtualhost , I have a symfony installation in /home/sfproduction/www/prod/public/ I need to change my root in order to point to my folder /public/
I have check symfony doc but I don't understand . How can I proceed ?
My current virtualhost setting is that but It doesn't work(display Bad Gateway):
----(I have put .after < in order to display on the forum)---
<./VirtualHost *:80>
ServerName sfproduction.alwaysdata.net
DocumentRoot "/home/sfproduction/www/prod/public/web"
DirectoryIndex index.php
Alias / /home/sfproduction/www/prod/public/
<Directory /sfproduction/www/prod/public>
AllowOverride All
Allow from All
</Directory>
<*/VirtualHost>