This commit is contained in:
thomas 2023-06-12 10:55:41 +02:00
parent f6f7521ffe
commit 797dff685b
21 changed files with 51 additions and 37 deletions

View file

@ -0,0 +1,15 @@
<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>

View file

@ -0,0 +1,6 @@
<?php
define('GLPI_CONFIG_DIR', '/etc/glpi/');
if (file_exists(GLPI_CONFIG_DIR . '/local_define.php')) {
require_once GLPI_CONFIG_DIR . '/local_define.php';
}

View file

@ -1 +0,0 @@

View file

@ -0,0 +1,3 @@
<?php
define('GLPI_VAR_DIR', '/var/lib/glpi/files/');
define('GLPI_LOG_DIR', '/var/log/glpi');

View file

@ -1,10 +0,0 @@
<VirtualHost *:80>
ServerName glpi.domaine.com
DocumentRoot /usr/share/glpi
<directory /usr/share/glpi>
Options FollowSymLinks
AllowOverride all
Require all granted
</directory>
</VirtualHost>