forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
27 lines (23 loc) · 1.04 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# If you have problem with session.auto_start or session.use_trans_sid on install
# you need to set these configuration values to 0 in php.ini or uncomment these lines
#php_value session.auto_start 0
#php_value session.use_trans_sid 0
# The following lines enable the apache rewriting for the api. You can use url like http://glpi/api/.
#<IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule api/(.*)$ apirest.php/$1
#</IfModule>
# You can uncomment following lines to enable caching of web assets (pictures, javascript files, etc)
#<IfModule mod_expires.c>
# ExpiresActive On
# ExpiresByType image/jpg "access 1 year"
# ExpiresByType image/jpeg "access 1 year"
# ExpiresByType image/gif "access 1 year"
# ExpiresByType image/png "access 1 year"
# ExpiresByType text/css "access 1 year"
# ExpiresByType text/x-javascript "access 1 year"
# ExpiresByType text/javascript "access 1 year"
# ExpiresByType application/javascript "access 1 year"
#</IfModule>