forked from YetiForceCompany/YetiForceCRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
44 lines (39 loc) · 1.44 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>
########################
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^favicon\.(gif|ico|png|jpe?g)$ layouts/vlayout/skins/images/favicon.ico [L,NC]
RewriteRule ^api/webservice/(.*)/(.*)$ api/webservice.php?module=$1&action=$2 [QSA,NC,L]
RewriteRule ^api/webservice/(.*)$ api/webservice.php?module=$1 [QSA,NC,L]
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteCond %{HTTP:Authorization} !^$
#RewriteRule (.*) test.php [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</ifModule>
<IfModule mod_php5.c>
php_flag log_errors Off
php_flag display_errors Off
php_value memory_limit 512M
php_flag output_buffering On
php_flag zlib.output_compression Off
php_flag file_uploads On
#php_value max_execution_time 600
#php_value max_input_time 600
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_value suhosin.request.max_vars 5000
php_value suhosin.post.max_vars 5000
php_flag suhosin.session.encrypt Off
php_flag session.auto_start Off
php_value session.gc_maxlifetime 21600
php_value session.gc_divisor 500
php_value session.gc_probability 1
</IfModule>
########################
# <FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
# AddHandler x-httpd-php56 .inc .php .php3 .php4 .php5 .php6 .phtml
# </FilesMatch>