From f27f74e0e9b4e5fa0c587807ef7b533acc475df0 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 3 Oct 2016 23:32:01 +0200 Subject: [PATCH] Webserver documentation --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d34d0c8..b81ae11 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,10 @@ The web server must have permission to write into `data`. $ sudo chown -R www-data:www-data data -Your webserver must be configured to serve `web/` as document root. If you use nginx, all virtual paths must be rooted with `web/index.php` or `web/app_dev.php` ([documentation](https://www.nginx.com/resources/wiki/start/topics/recipes/symfony/)). +Your webserver must be configured to serve `web/` as document root. If you use nginx, all virtual paths must be rooted with `web/index.php` or `web/app_dev.php` ([documentation](https://www.nginx.com/resources/wiki/start/topics/recipes/symfony/)). If you use apache, you must enable the `rewrite` module and restart: + + $ sudo a2enmod rewrite + $ sudo service apache2 restart Upgrade -------