-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.htaccess
48 lines (40 loc) · 1.5 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
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.farm2.store$
RewriteRule ^/?(.*)$ https://farm2.store/$1 [R=301,L]
RewriteBase /
RewriteCond %{THE_REQUEST} (.*)\.php
RewriteRule ^(.*)\.php $1.html [R=301,L]
RewriteCond %{THE_REQUEST} (.*)\.html
RewriteRule ^(.*)\.html $1.php [L]
Options -Indexes
ErrorDocument 404 /
#php_flag log_errors Off
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_value max_execution_time 60000
php_value max_input_time 6000
php_value memory_limit -1
php_value post_max_size 1M
php_flag display_errors Off
php_value max_input_vars 1000
php_value session.gc_maxlifetime 0
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 2M
php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
php_value max_execution_time 60000
php_value max_input_time 6000
php_value memory_limit -1
php_value post_max_size 1M
php_flag display_errors Off
php_value max_input_vars 1000
php_value session.gc_maxlifetime 0
php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
php_value upload_max_filesize 2M
php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit