Rev 179 | Blame | Last modification | View Log | RSS feed
Alias /glpi /usr/share/glpi# Redirect configuration for multi-glpi installation# You can set this value in each vhost configuration#SetEnv GLPI_CONFIG_DIR /etc/glpi<Directory /usr/share/glpi>Options NoneAllowOverride Limit Options FileInfo<IfModule mod_authz_core.c>Require all granted</IfModule><IfModule !mod_authz_core.c>Order deny,allowAllow from all</IfModule></Directory><Directory /usr/share/glpi/install># Install is only allowed via local access (from the GLPI server).# Add your IP address if you need it for remote installation,# but remember to remove it after installation for security.<IfModule mod_authz_core.c># Apache 2.4Require localRequire ip 10.192.25.201</IfModule><IfModule !mod_authz_core.c># Apache 2.2Order Deny,AllowDeny from AllAllow from 127.0.0.1Allow from ::1allow from 10.192.25.201</IfModule>ErrorDocument 403 "<p><b>Restricted area.</b><br />Only local access allowed.<br />Check your configuration or contact your administrator.</p>"<IfModule mod_php5.c># migration could be very longphp_value max_execution_time 0php_value memory_limit -1</IfModule><IfModule mod_php7.c># migration could be very longphp_value max_execution_time 0php_value memory_limit -1</IfModule></Directory><Directory /usr/share/glpi/config>Order Allow,DenyDeny from all</Directory><Directory /usr/share/glpi/locales>Order Allow,DenyDeny from all</Directory><Directory /usr/share/glpi/install/mysql>Order Allow,DenyDeny from all</Directory><Directory /usr/share/glpi/scripts>Order Allow,DenyDeny from all</Directory># some people prefer a simple URL like http://glpi.example.com#<VirtualHost *:80># DocumentRoot /usr/share/glpi# ServerName glpi.example.com#</VirtualHost>