-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.htaccess
49 lines (42 loc) · 1.35 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
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 516M
php_value max_execution_time 3000
php_value max_input_time 3000
Header set X-Robots-Tag "noindex,nofollow"
# BEGIN ClassicPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END ClassicPress
# BEGIN LiteSpeed
<IfModule Litespeed>
SetEnv noabort 1
# Disable cache for staging
CacheDisable public /
</IfModule>
# END LiteSpeed
# Security settings
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
#<IfModule php7_module>
php_value error_log /var/www/public/staging-directory.classicpress.net/log/php_errors.log
;php_value upload_tmp_dir /var/www/public/staging-directory.classicpress.net/tmp/
;php_admin_value upload_tmp_dir /var/www/public/staging-directory.classicpress.net/tmp
#</IfModule>