kollapsminoriteten/.htaccess

21 lines
510 B
ApacheConf
Raw Normal View History

2019-11-02 10:38:58 +01:00
Options -indexes
RewriteCond %{REQUEST_METHOD} ^(GET|POST|PUT|PATCH|DELETE) [NC]
RewriteCond %{REQUEST_URI} ^.*wp-json/wp/ [NC]
2019-11-23 01:18:49 +01:00
RewriteCond %{REMOTE_ADDR} !^212\.63.
RewriteCond %{REMOTE_ADDR} !^81\.231.
2020-03-05 09:30:08 +01:00
RewriteCond %{REMOTE_ADDR} !^194\.68\.237\.
2019-11-02 10:38:58 +01:00
RewriteRule ^(.*)$ - [F]
# 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]
</IfModule>
# END WordPress