-
Notifications
You must be signed in to change notification settings - Fork 0
/
mffi.apache2
172 lines (155 loc) · 7.68 KB
/
mffi.apache2
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mifans.web.id$ [OR]
RewriteCond %{HTTP_HOST} ^www.mifans.web.id$
RewriteRule ^@twitter$ http://twitter.com/mifansindonesia$1 [R=301,L]
RewriteRule ^@dmiui$ http://links.mifans.web.id/Gab$1 [R=301,L]
RewriteRule ^@github$ http://github.com/mifansindonesia$1 [R=301,L]
RewriteRule ^tview$ http://filehippo.com/download_teamviewer/history/$1 [R=301,L]
RewriteRule ^tviewo$ http://teamviewer.id.uptodown.com/windows/old$1 [R=301,L]
RewriteRule ^status$ http://status.mifans.web.id$1 [R=301,L]
RewriteRule ^admin$ http://mifans.web.id/mimin.php$1 [R=301,L]
RewriteRule ^download$ http://mifans.web.id/h/download$1 [R=301,L]
RewriteRule ^download/$ http://mifans.web.id/h/download$1 [R=301,L]
RewriteRule ^downloads$ http://mifans.web.id/h/download$1 [R=301,L]
RewriteRule ^links/(.*)$ https://links.mifans.web.id/$1 [NC,L]
RewriteRule ^emoji1/(.*)$ https://ssl.mifans.web.id/emoji1/assets/$1 [NC,L]
RewriteRule ^assets/(.*)$ https://assets.mifans.web.id/assets/$1 [NC,L]
RewriteRule ^cdn/(.*)$ https://cdn.mifans.web.id/$1 [NC,L]
RewriteRule ^rss$ http://mifans.web.id/forums/-/index.rss [R=301,L]
RewriteRule ^wt$ http://mifans.web.id/watched/threads [R=301,L]
RewriteRule ^wf$ http://mifans.web.id/watched/forums [R=301,L]
RewriteRule ^fnp$ http://mifans.web.id/find-new/posts [R=301,L]
RewriteRule ^c$ http://mifans.web.id/conversations/ [R=301,L]
RewriteRule ^o$ http://mifans.web.id/online/ [R=301,L]
RewriteRule ^a/(.*)$ http://mifans.web.id/account/$1 [NC,L]
RewriteRule ^t/(.*)$ http://mifans.web.id/threads/$1 [NC,L]
RewriteRule ^m/(.*)$ http://mifans.web.id/members/$1 [NC,L]
RewriteRule ^f/(.*)$ http://mifans.web.id/members/$1 [NC,L]
RewriteRule ^r/(.*)$ http://mifans.web.id/resources/$1 [NC,L]
RewriteRule ^p/(.*)$ http://mifans.web.id/posts/$1 [NC,L]
RewriteRule ^s/(.*)$ http://mifans.web.id/search/?q=$1 [NC,L]
RewriteRule ^pp/(.*)$ http://mifans.web.id/profile-posts/$1 [NC,L]
RewriteRule ^f/(.*)$ http://mifans.web.id/forums/$1 [NC,L]
RewriteRule ^h/(.*)$ http://mifans.web.id/pages/$1 [NC,L]
RewriteRule ^l/(.*)$ http://links.mifans.web.id/$1 [NC,L]
RewriteRule ^root/$ http://mifans.web.id/posts/143/$1 [NC,L]
RewriteRule ^root$ http://mifans.web.id/posts/143/$1 [NC,L]
RewriteRule ^twrp/$ http://mifans.web.id/posts/8859/$1 [NC,L]
RewriteRule ^twrp$ http://mifans.web.id/posts/8859/$1 [NC,L]
RewriteRule ^recovery/$ http://mifans.web.id/posts/638/$1 [NC,L]
RewriteRule ^recovery$ http://mifans.web.id/posts/638/$1 [NC,L]
RewriteRule ^rom/$ http://mifans.web.id/forums/seputar-miui-roms.28/?prefix_id=5$1 [NC,L]
RewriteRule ^rom$ http://mifans.web.id/forums/seputar-miui-roms.28/?prefix_id=5$1 [NC,L]
RewriteRule ^roms/$ http://mifans.web.id/tags/roms/$1 [NC,L]
RewriteRule ^roms$ http://mifans.web.id/tags/roms/$1 [NC,L]
RewriteRule ^umiui/$ http://mifans.web.id/posts/20/$1 [NC,L]
RewriteRule ^umiui$ http://mifans.web.id/posts/20/$1 [NC,L]
RewriteRule ^abal2$ http://mifans.web.id/posts/18252/$1 [NC,L]
RewriteRule ^abal2/$ http://mifans.web.id/posts/18252/$1 [NC,L]
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 502 /error/508.php
ErrorDocument 400 /error/400.php
ErrorDocument 401 /error/401.php
ErrorDocument 403 /error/403.php
#ErrorDocument 404 /error/404.php
ErrorDocument 404 /index.html
#ErrorDocument 404 /error/tenis.html
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 /error/500.php
ErrorDocument 501 default
ErrorDocument 503 /error/503.php
ErrorDocument 508 /error/508.php
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
#RewriteEngine on
#RewriteCond %{HTTP_HOST} ^208\.110\.70\.66$ [NC]
#RewriteRule ^(.*)$ http://mifans.web.id/$1 [R=301,L]
#RewriteCond %{HTTP_HOST} ^23\.239\.84\.18$ [NC]
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https://(www\.)?mifans.web.id/.*$ [NC]
RewriteRule \.(jpe?g|gif|bmp|png)$ https://assets.mifans.web.id/assets/imgs/hot.png [NC,R,L]
# deflate https://www.keycdn.com/blog/speed-up-xenforo/#caching
#<IfModule mod_deflate.c>
# # Compress HTML, CSS, JavaScript, Text, XML and fonts
# AddOutputFilterByType DEFLATE application/javascript
# AddOutputFilterByType DEFLATE application/rss+xml
# AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
# AddOutputFilterByType DEFLATE application/x-font
# AddOutputFilterByType DEFLATE application/x-font-opentype
# AddOutputFilterByType DEFLATE application/x-font-otf
# AddOutputFilterByType DEFLATE application/x-font-truetype
# AddOutputFilterByType DEFLATE application/x-font-ttf
# AddOutputFilterByType DEFLATE application/x-javascript
# AddOutputFilterByType DEFLATE application/xhtml+xml
# AddOutputFilterByType DEFLATE application/xml
# AddOutputFilterByType DEFLATE font/opentype
# AddOutputFilterByType DEFLATE font/otf
# AddOutputFilterByType DEFLATE font/ttf
# AddOutputFilterByType DEFLATE image/svg+xml
# AddOutputFilterByType DEFLATE image/x-icon
# AddOutputFilterByType DEFLATE text/css
# AddOutputFilterByType DEFLATE text/html
# AddOutputFilterByType DEFLATE text/javascript
# AddOutputFilterByType DEFLATE text/plain
# AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
# BrowserMatch ^Mozilla/4 gzip-only-text/html
# BrowserMatch ^Mozilla/4\.0[678] no-gzip
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Header append Vary User-Agent
#</IfModule>
#<ifModule mod_expires.c>
# ExpiresActive On
############################################
## Add default Expires header
# ## http://developer.yahoo.com/performance/rules.html#expires
# <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
# ExpiresDefault "access plus 1 year"
# </FilesMatch>
# </ifModule>
#<IfModule mod_expires.c>
#ExpiresActive On
#ExpiresByType image/jpg "access plus 1 year"
#ExpiresByType image/jpeg "access plus 1 year"
#ExpiresByType image/gif "access plus 1 year"
#ExpiresByType image/png "access plus 1 year"
#ExpiresByType text/css "access plus 1 month"
#ExpiresByType application/pdf "access plus 1 month"
#ExpiresByType text/x-javascript "access plus 1 month"
#ExpiresByType application/x-shockwave-flash "access plus 1 month"
#ExpiresByType image/x-icon "access plus 1 year"
#ExpiresDefault "access plus 2 days"
#</IfModule>
Redirect 301 /threads/cara-flash-update-redmi-2-hm2014813-ke-global-rom-tanpa-kehilangan-jaringan-modem.787/ http://mifans.web.id/threads/cara-flash-update-redmi-2-hm2014813-ke-global-rom-tanpa-kehilangan-jaringan-modem.851/
Redirect 301 /t/787/ http://mifans.web.id/posts/15819/
Redirect 301 /t/787 http://mifans.web.id/posts/15819/
Redirect 301 /threads/787/ http://mifans.web.id/posts/15819/