symfony2 - Symfony, default use app.php -
symfony2 - Symfony, default use app.php -
i'm trying set online symfony project on debian , have problem.
in host have documentroot /var/www/myproject/web/, , when display website on browser, have list of files (the web folder in symfony)
i want utilize default app.php, how can ?
this case should handled .htaccess file should have in web directory. create work need have apache mod_rewrite enabled , have proper configuration of virtualhost: need have allowoverride all in directory directive
btw: server shows list of files in directory - considered unsafe in production server. disable options -indexes in virtualhost configuration.
so virtualhost configuration should have (this apache 2.4 conf):
<directory /path/to/your/web/> options -indexes +followsymlinks +multiviews allowoverride require granted </directory> symfony2
Comments
Post a Comment