debmaker/ressources/glpi/rootfs/apache2-glpi.conf

16 lines
391 B
Plaintext

<VirtualHost *:80>
ServerName glpi.domaine.com
DocumentRoot /usr/share/glpi/public
<directory /usr/share/glpi/public>
Options FollowSymLinks
AllowOverride all
Require all granted
RewriteEngine On
# Redirect all requests to GLPI router, unless file exists.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</directory>
</VirtualHost>