diff options
| author | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-08-22 18:57:52 +0000 |
|---|---|---|
| committer | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-08-22 18:57:52 +0000 |
| commit | 45890a5029d0fb65cd2d15689c7c173cc0dae61b (patch) | |
| tree | 3990a44a840233ee731ac40556dff36ec62a31d8 /tools | |
| parent | 97b57f14dee0a6ffb8b5f3c3e3397c86858c50c5 (diff) | |
| download | boca-45890a5029d0fb65cd2d15689c7c173cc0dae61b.tar.gz boca-45890a5029d0fb65cd2d15689c7c173cc0dae61b.zip | |
tools/000-boca.conf: Update to match current apache2 guidelines
Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/000-boca.conf | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/tools/000-boca.conf b/tools/000-boca.conf index 81df368..2ea68d9 100644 --- a/tools/000-boca.conf +++ b/tools/000-boca.conf @@ -1,24 +1,21 @@ -<Directory /usr/lib/cgi-bin> - Require all granted -</Directory> -<IfModule mod_fastcgi.c> - AddHandler php7-fcgi .php - Action php7-fcgi /php7-fcgi - Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi - FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.0-fpm.sock -idle-timeout 120 -pass-header Authorization -</IfModule> -<Directory /var/www/boca/src> - AllowOverride Options AuthConfig Limit - Order Allow,Deny - Allow from all - AddDefaultCharset utf-8 -</Directory> -<Directory /var/www/boca/src/private> - AllowOverride Options AuthConfig Limit - Deny from all -</Directory> -<Directory /var/www/boca> - AllowOverride Options AuthConfig Limit - Deny from all -</Directory> -Alias /boca /var/www/boca/src +<VirtualHost *:80> + + ServerAdmin boca@bombonera.org + DocumentRoot /var/www/boca + <Directory "/var/www/boca/src"> + AllowOverride Options AuthConfig Limit + Order Allow,Deny + Allow from all + AddDefaultCharset utf-8 + </Directory> + <Directory "/var/www/boca/src/private"> + AllowOverride Options AuthConfig Limit + Deny from all + </Directory> + <Directory /var/www/boca> + AllowOverride Options AuthConfig Limit + Deny from all + </Directory> + Alias /boca /var/www/boca/src + +</VirtualHost> |