diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-06-13 20:25:47 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-06-13 20:25:47 +0200 |
commit | 8b060f807e06e8b83bc06f8595c132f9c0e31c5a (patch) | |
tree | d1313d827368906867cf980909152ff3f84059fe /glpi-httpd.conf |
reorg repo
Diffstat (limited to 'glpi-httpd.conf')
-rw-r--r-- | glpi-httpd.conf | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/glpi-httpd.conf b/glpi-httpd.conf new file mode 100644 index 0000000..dc48482 --- /dev/null +++ b/glpi-httpd.conf @@ -0,0 +1,51 @@ +Alias /glpi /usr/share/glpi + +<Directory /usr/share/glpi> + Options None + AllowOverride Limit Options FileInfo + + php_value memory_limit 64M + + <IfModule mod_authz_core.c> + Require all granted + </IfModule> + <IfModule !mod_authz_core.c> + Order deny,allow + Allow from all + </IfModule> +</Directory> + +<Directory /usr/share/glpi/install> + + # migration could be very long + php_value max_execution_time 0 + php_value memory_limit -1 + +</Directory> + +<Directory /usr/share/glpi/config> + Order Allow,Deny + Deny from all +</Directory> + +<Directory /usr/share/glpi/locales> + Order Allow,Deny + Deny from all +</Directory> + +<Directory /usr/share/glpi/install/mysql> + Order Allow,Deny + Deny from all +</Directory> + +<Directory /usr/share/glpi/scripts> + Order Allow,Deny + Deny 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> + |