-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
49 lines (45 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
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
</IfModule>
RewriteEngine on
#RewriteCond %{HTTPS} off
#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
#RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
#RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
#RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTP_HOST} (.*)
RewriteCond %{REQUEST_URI} /$ [NC]
RewriteRule ^(.*)(/)$ $1 [L,R=301]
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} ^/.*
RewriteRule ^(.*)$ web/$1 [L]
RewriteCond %{REQUEST_URI} !^/web/
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ web/index.php
</IfModule>
<IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 300
php_value max_input_time -1
php_value max_input_vars 10000
php_value memory_limit 1024M
php_value post_max_size 10000M
php_value session.gc_maxlifetime 1440
#php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 10000M
php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 300
php_value max_input_time -1
php_value max_input_vars 10000
php_value memory_limit 1024M
php_value post_max_size 10000M
php_value session.gc_maxlifetime 1440
#php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 10000M
php_flag zlib.output_compression Off
</IfModule>