43 lines
901 B
Plaintext
43 lines
901 B
Plaintext
|
|
# BEGIN All In One WP Security
|
|
#AIOWPS_BASIC_HTACCESS_RULES_START
|
|
<Files .htaccess>
|
|
<IfModule mod_authz_core.c>
|
|
Require all denied
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Order deny,allow
|
|
Deny from all
|
|
</IfModule>
|
|
</Files>
|
|
ServerSignature Off
|
|
LimitRequestBody 10485760
|
|
<Files wp-config.php>
|
|
<IfModule mod_authz_core.c>
|
|
Require all denied
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Order deny,allow
|
|
Deny from all
|
|
</IfModule>
|
|
</Files>
|
|
#AIOWPS_BASIC_HTACCESS_RULES_END
|
|
# END All In One WP Security
|
|
|
|
# BEGIN WordPress
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
RewriteRule ^index\.php$ - [L]
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /index.php [L]
|
|
php_value upload_max_filesize 128M
|
|
php_value post_max_size 128M
|
|
php_value memory_limit 256M
|
|
php_value max_execution_time 300
|
|
php_value max_input_time 300
|
|
</IfModule>
|
|
# END WordPress
|
|
Options -Indexes
|