forked from YetiForceCompany/YetiForceCRM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
49 lines (48 loc) · 1.56 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
45
46
47
48
49
RedirectMatch 403 (?i).*\.log$
<IfModule mod_env.c>
SetEnv HTACCESS_TEST on
</IfModule>
<IfModule mod_autoindex.c>
Options -Indexes -MultiViews
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^favicon.ico layouts/basic/images/favicon.ico [L,NC]
RewriteRule ^webservice/(.*)/(.*)/(.*)$ webservice.php?module=$1&action=$2&record=$3 [QSA,NC,L]
RewriteRule ^webservice/(.*)/(.*)$ webservice.php?module=$1&action=$2 [QSA,NC,L]
RewriteRule ^webservice/(.*)$ webservice.php?action=$1 [QSA,NC,L]
RewriteRule ^\.well-known/carddav dav.php/addressbooks/ [R]
RewriteRule ^\.well-known/caldav dav.php/calendars/ [R]
RewriteRule /.well-known/carddav dav.php/addressbooks/ [R,L]
RewriteRule /.well-known/caldav dav.php/calendars/ [R,L]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
RewriteRule .* - [E=HTTP_CONTENT_TYPE:%{HTTP:Content-Type},L]
</IfModule>
<IfModule mod_headers.c>
Header unset Server
Header unset X-Powered-By
<IfModule mod_env.c>
SetEnv modHeadersAvailable true
</IfModule>
</IfModule>
<ifModule ModSecurity.c>
SecServerSignature ''
</ifModule>
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
<Files dav.php>
<IfModule mod_expires.c>
ExpiresActive Off
</IfModule>
<IfModule mod_php5.c>
php_flag output_buffering On
php_flag always_populate_raw_post_data Off
php_flag mbstring.func_overload Off
</IfModule>
</Files>
########################
# <FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
# AddHandler x-httpd-php56 .inc .php .php3 .php4 .php5 .php6 .phtml
# </FilesMatch>