forked from NeoRazorX/facturascripts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
htaccess-sample
32 lines (28 loc) · 887 Bytes
/
htaccess-sample
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
28
29
30
31
32
Options -Indexes
<IfModule mod_php.c>
php_value max_input_vars 10000
php_value post_max_size 99M
php_value upload_max_filesize 99M
</IfModule>
<IfModule mod_php7.c>
php_value max_input_vars 10000
php_value post_max_size 99M
php_value upload_max_filesize 99M
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !Dinamic/Assets/ [NC]
RewriteCond %{REQUEST_URI} !node_modules/ [NC]
RewriteRule . index.php [L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
<FilesMatch "\.(php|cgi)$">
ExpiresActive Off
</FilesMatch>
</IfModule>