mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
4
1.2.2 Web server
Simon Vieille edited this page 2019-07-12 23:36:25 +02:00
The web server must have permission to write into data
and cache
.
$ 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). If you use apache, you must enable the rewrite
module and restart:
$ sudo a2enmod rewrite
$ sudo service apache2 restart
app_dev.php
is the development router. Access is granted for an IP range defined in the same file.