forked from behnam263/grammark
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.htaccess
33 lines (26 loc) · 858 Bytes
/
.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
SetEnv PHPRC /home/markfull/public_html/grammark/php.ini
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NC,L]
#RewriteRule ^ - [E=protossl]
#RewriteCond %{HTTPS} on
#RewriteRule ^ - [E=protossl:s]
#RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
#RewriteRule ^ https://%1 [L,R=301]
#RewriteBase /
RewriteRule ^$ /dist [L]
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteCond %{HTTPS} off
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [NC,L]
ErrorDocument 404 '404 Page not found. <a href="http://grammark.org">Back to grammark.org</a>'
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 213.239.211.141
deny from 158.129.192.208
deny from 78.46.174.55
deny from 50.31.96.17
deny from 46.151.53.