SetHandler "proxy:unix:${phpFpm.socket}|fcgi://localhost"
</FilesMatch>
- <Directory ${if environment == "dev" then root else webRoot}>
+ <Directory ${root}>
DirectoryIndex index.php index.htm index.html
Options -Indexes +FollowSymLinks +MultiViews +Includes
- Include ${if environment == "dev" then root else webRoot}/htaccess.txt
+ Include ${root}/htaccess.txt
AllowOverride AuthConfig FileInfo Limit
Require all granted
</Directory>
- <DirectoryMatch "${if environment == "dev" then root else webRoot}/squelettes">
+ <DirectoryMatch "${root}/squelettes">
Require all denied
</DirectoryMatch>