ServerName localhost DocumentRoot /var/www/project/public DirectoryIndex /index.php AllowOverride None Order Allow,Deny Allow from All FallbackResource /index.php # uncomment the following lines if you install assets as symlinks # or run into problems when compiling LESS/Sass/CoffeeScript assets # # Options FollowSymlinks # # optionally disable the fallback resource for the asset directories # which will allow Apache to return a 404 error when files are # not found instead of passing the request to Symfony DirectoryIndex disabled FallbackResource disabled ErrorLog /var/log/apache2/project_error.log CustomLog /var/log/apache2/project_access.log combined # optionally set the value of the environment variables used in the application #SetEnv APP_ENV prod #SetEnv APP_SECRET #SetEnv DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name"