<Macro mdref_host_defs>
- ServerName mdref.m6w6m.name
+ ServerName mdref.m6w6.name
ServerAdmin webmaster@m6w6.name
DocumentRoot /var/www/mdref/mdref/public
<Directory /var/www/mdref/mdref/public>
- Options Indexes FollowSymLinks
- AllowOverride All
+ AllowOverride None
Require all granted
+ DirectorySlash Off
+ RewriteEngine On
+ RewriteCond %{REQUEST_FILENAME} -f [OR]
+ RewriteCond %{REQUEST_FILENAME} -d [OR]
+ RewriteCond %{REQUEST_FILENAME} -l
+ RewriteRule ^ - [L]
+ RewriteRule ^ index.php [L]
+ <FilesMatch ".+\.ph(p|tml)$">
+ SetHandler "proxy:unix:/run/php/php-mdref.sock|fcgi://localhost"
+ </FilesMatch>
</Directory>
</Macro>