-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
243 lines (237 loc) · 11.9 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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
php_flag display_errors on
php_value error_reporting 9999
RewriteEngine On
<FilesMatch "\.(ttf|otf|eot|woff|php|css|js)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
##RewriteCond %{HTTP_HOST} !^www.turkiyefloracicek.com
##RewriteCond %{HTTP_HOST} ^([^.]+).turkiyefloracicek.com
RewriteRule ^([0-9a-zA-Z-_/]+)$(/?) index.php?url=$1 [QSA,L]
#app dosyası yönlendirme
RewriteRule ^([^/]+)/$ http://localhost/SProject/app/$1 [R=301,L]
#session ve cookie süresi ayarlama
##php_value session.cookie_lifetime 10
##php_value session.gc_maxlifetime 10
#Hata Yönlendirmeler
# Error Pages
ErrorDocument 400 http://localhost/SProject/asd.html
ErrorDocument 401 http://localhost/SProject/asd.html
ErrorDocument 402 http://localhost/SProject/asd.html
ErrorDocument 403 http://localhost/SProject/asd.html
ErrorDocument 404 http://localhost/SProject/asd.html
ErrorDocument 405 http://localhost/SProject/asd.html
ErrorDocument 406 http://localhost/SProject/asd.html
ErrorDocument 407 http://localhost/SProject/asd.html
ErrorDocument 408 http://localhost/SProject/asd.html
ErrorDocument 409 http://localhost/SProject/asd.html
ErrorDocument 410 http://localhost/SProject/asd.html
ErrorDocument 411 http://localhost/SProject/asd.html
ErrorDocument 412 http://localhost/SProject/asd.html
ErrorDocument 413 http://localhost/SProject/asd.html
ErrorDocument 414 http://localhost/SProject/asd.html
ErrorDocument 500 http://localhost/SProject/asd.html
ErrorDocument 501 http://localhost/SProject/asd.html
ErrorDocument 502 http://localhost/SProject/asd.html
ErrorDocument 503 http://localhost/SProject/asd.html
ErrorDocument 504 http://localhost/SProject/asd.html
ErrorDocument 505 http://localhost/SProject/asd.html
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://([-a-z0-9]+\.)?phpr\.org[NC]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} framesite\.com [NC]
RewriteRule .* – [F]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
##spamlı siteler engelleme
RewriteCond %{HTTP_REFERER} .*adf.ly.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*tinyurl.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*bit.ly.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*bc.vc.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*tik.tl.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*tr5.in.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*1tk.us.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*tr6.in.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*hitleap.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*spam.tamkafadan.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*lienscash.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*semalt.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*4webmasters.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*buttons-for-website.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*darodar.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*priceg.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*makemoneyonline.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*blackhatworth.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*hulfingtonpost.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*bestwebsitesawards.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*o-o-6-o-o.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ilovevitaly.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*simple-share-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*social-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*econom.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ilovevitaly.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ilovevitaly.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ilovevitaly.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ranksonic.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*see-your-website-here.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*cenokos.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*bestwebsitesawards.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*hulfingtonpost.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*s.click.aliexpress.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*blackhatworth.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*forum20.smailik.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*lomb.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*lombia.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*lumb.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*kambasoft.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*savetubevideo.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.smilebox.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.gboxapp.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.genieo.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.earthlink.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.1and1.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.netzero.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*7makemoneyonline.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*prodvigator.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*resellerclub.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*screentoolkit.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*socialseet.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*superiends.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*vodkoved.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*o-o-8-o-o.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*iskalko.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*luxup.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*myftpupload.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*websocial.me.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ykecwqlixx.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*slftsdybbg.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*seoexperimenty.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*edakgfvwql.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*adcash.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*adviceforum.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*europages.com.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*gobongo.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*cenoval.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*cityadspix.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*cenokos.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ranksonic.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*srecorder.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*76brighton.co.uk.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*paparazzistudios.com.au.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*powitania.pl.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*sharebutton.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*tasteidea.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*descargar-musica-gratis.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*torontoplumbinggroup.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*cyprusbuyproperties.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*anticrawler.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*livefixer.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*adspart.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*wmasterLead.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*coderstate.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*seopub.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*gca.sh.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*repla.cr.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*googlsucks.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ilovevitaly.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*best-seo-offer.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*best-seo-solution.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*buttons-for-your-website.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*humanorightswatch.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*free-share-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*buy-cheap-online.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*generalporn.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*torture.ml.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*domination.ml.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*pornhub-forum.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*youporn-forum.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*rapidgator-porn.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*depositfiles-porn.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*pornhubforum.tk.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*pornhub-forum.uni.me.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*iframe-toloka.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*howtostopreferralspam.eu.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*sitevaluation.org.*$ [NC]
RewriteRule .* - [F]