
<IfModule mod_rewrite.c>
RewriteEngine On

#Crawlers and bots
RewriteEngine On
#RewriteCond %{HTTP_USER_AGENT} googlebot [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} "Google Web Preview" [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} "Mediapartners-Google" [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} "AdsBot-Google" [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} "APIs-Google" [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Feedfetcher-Google [NC]
RewriteCond %{HTTP_USER_AGENT} AhrefsBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} DataForSeoBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Sogou [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SpamSpewer [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SecretAgentAgent [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Bytespider [NC,OR]
RewriteCond %{HTTP_USER_AGENT} PetalBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} PetalSearch [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Semrush [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SemrushBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} BLEXBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} webmeup [NC,OR]
RewriteCond %{HTTP_USER_AGENT} claudebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} bingbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} amazonbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} amazonaws [NC,OR]
RewriteCond %{HTTP_USER_AGENT} msnbot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} applebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} aiohttp [NC,OR]
RewriteCond %{HTTP_USER_AGENT} googleother [NC,OR]
RewriteCond %{HTTP_USER_AGENT} gptbot [NC]
RewriteRule ^.* - [F,L]

RewriteEngine On

Redirect 301 /ebook_volume/3450 https://www.eurekaselect.com/ebook_volume/3727

# Redirect to HTTPS and 'www'
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteRule ^(.*)$ public/$1 [L]
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]

#RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://www.eurekaselect.com/$1 [R=301,L]	




</IfModule>
<Files .env>
    order allow,deny
    Deny from all
</Files>
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
Header set Access-Control-Allow-Headers "Content-Type, X-CSRF-TOKEN"
#deny from all
deny from 38.128.66.10
deny from 66.249.70.42
deny from 66.249.70.40
deny from 66.249.70.38
deny from 66.249.66.8
deny from 66.249.64.149
deny from 66.249.69.141
deny from 64.62.252.163
deny from 199.47.87.142
deny from 66.160.140.183
deny from 46.161.9.67
deny from 5.255.250.20
deny from 159.203.78.219
deny from 141.0.13.76
deny from 65.21.180.16
deny from 191.101.31.59
deny from 65.21.180.16
deny from 191.101.31.59
deny from 185.191.171.1
deny from 185.191.171.10
deny from 185.191.171.11
deny from 185.191.171.12
deny from 185.191.171.13
deny from 185.191.171.14
deny from 185.191.171.15
deny from 185.191.171.16
deny from 185.191.171.17
deny from 185.191.171.18
deny from 185.191.171.19
deny from 185.191.171.2
deny from 185.191.171.20
deny from 185.191.171.21
deny from 185.191.171.22
deny from 185.191.171.23
deny from 185.191.171.24
deny from 185.191.171.25
deny from 185.191.171.26
deny from 185.191.171.3
deny from 185.191.171.33
deny from 185.191.171.34
deny from 185.191.171.35
deny from 185.191.171.36
deny from 185.191.171.37
deny from 185.191.171.38
deny from 185.191.171.39
deny from 185.191.171.4
deny from 185.191.171.40
deny from 185.191.171.41
deny from 185.191.171.42
deny from 185.191.171.43
deny from 185.191.171.44
deny from 185.191.171.45
deny from 185.191.171.5
deny from 185.191.171.6
deny from 185.191.171.7
deny from 185.191.171.8
deny from 185.191.171.9
deny from 185.191.171
deny from 17.121.*
deny from 65.9.82.87
deny from 114.119.149.157
deny from 185.65.134.253
deny from 217.199.103.244
deny from 178.79.149.216
deny from 37.120.133.165
deny from 84.17.48.66
deny from 45.133.173.45
deny from 92.204.175.90
deny from 84.17.48.188
deny from 217.199.103.244
deny from 193.232.41.104
deny from 95.73.239.37
deny from 149.57.12.135
deny from 46.161.0.0/16
deny from 185.88.37.184
deny from 37.139.53.81
deny from 85.208.210.57
deny from 193.233.210.40
deny from 120.197.219.82
deny from 120.196.188.21
deny from 41.93.71.4
deny from 121.22.53.166
deny from 118.212.152.82
deny from 111.160.204.146
deny from 121.22.53.166
deny from 104.234.147.114
deny from 137.220.245.56
deny from 91.240.118.252
deny from 164.70.84.186
deny from 116.80.72.245
deny from 152.89.196.126
deny from 137.220.180.30
deny from 204.44.95.160
deny from 204.44.95.161
deny from 204.44.95.162
deny from 204.44.95.163
deny from 204.44.95.164
deny from 204.44.95.*
deny from 103.179.44.90
deny from 103.179.44.84
deny from 103.179.44.98
deny from 103.179.44.*
deny from 34.97.28.102
deny from 155.94.182.25
deny from 155.94.182.243
deny from 155.94.182.249
deny from 155.94.182.*
deny from 155.94.182.244
deny from 155.94.182.246
deny from 160.251.115.160
deny from 35.243.68.121
deny from 34.146.112.58
deny from 34.146.133.11
deny from 34.64.227.125
deny from 35.187.198.254
deny from 34.85.10.149
deny from 150.158.37.47
deny from 152.89.196.113
deny from 34.84.106.112
deny from 34.85.32.27
deny from 34.85.93.135
deny from 34.85.82.52
deny from 34.85.41.6
deny from 34.84.126.211
deny from 35.200.43.104
deny from 34.146.25.96
deny from 34.84.173.135
deny from 34.84.226.191
deny from 34.173.36.129
deny from 155.94.228.242
deny from 34.96.179.160
deny from 193.37.69.130
deny from 34.84.73.28
deny from 34.85.17.38
deny from 34.84.2.141
deny from 35.243.103.202
deny from 91.240.118.113
deny from 150.95.220.129
deny from 185.9.144.243
deny from 150.95.222.233
deny from 101.43.7.142
deny from 192.161.56.96
deny from 192.161.56.61
deny from 45.143.200.132
deny from 198.55.123.160
deny from 193.37.69.134
deny from 170.246.53.106
deny from 170.231.251.135
deny from 54.78.90.129
deny from 27.147.169.198
deny from 45.143.203.8
deny from 103.87.244.6
deny from 85.217.144.31
deny from 137.208.107.81
deny from 45.150.65.61
deny from 80.92.205.211
deny from 217.174.246.181
deny from 194.26.135.165
deny from 94.232.41.167
deny from 185.237.15.83
deny from 4.151.53.71
deny from 183.251.226.234
deny from 146.158.101.17
deny from 54.217.132.119
deny from 54.78.90.129
deny from 70.18.216.156
deny from 152.228.214.87
deny from 161.35.124.158
deny from 172.173.75.87
deny from 20.168.54.147
deny from 34.209.163.38
deny from 43.246.220.217
deny from 147.235.196.136
deny from 20.254.65.59
deny from 20.49.203.24
deny from 193.218.118.104
deny from 104.219.41.114
deny from 85.215.124.93
deny from 108.175.10.202
deny from 217.160.227.217
deny from 20.246.95.59
deny from 162.19.69.100
deny from 82.165.210.150
deny from 207.60.128.244
deny from 5.75.236.28
deny from 85.215.105.112
deny from 109.228.37.246
deny from 62.204.41.186
deny from 195.133.88.43
deny from 185.122.204.97
deny from 83.97.73.27
deny from 94.54.248.208
deny from 212.102.35.18
deny from 213.109.202.166
deny from 91.92.243.190
deny from 176.113.115.186
deny from 192.146.139.24
deny from 194.48.251.203
deny from 200.201.233.155
deny from 45.88.91.105
deny from 185.125.50.104
deny from 103.48.163.249
deny from 185.125.50.182
deny from 185.156.46.163
deny from 45.134.26.52
deny from 91.215.85.34
deny from 207.60.128.76
deny from 78.153.140.222
deny from 52.233.106.135
deny from 198.54.135.54
deny from 141.98.255.144
deny from 147.78.47.88
deny from 47.76.209.138
deny from 194.179.53.211
deny from 136.243.228.178
deny from 138.36.29.209
deny from 197.218.94.182
deny from 101.33.219.82
deny from 43.136.90.192
deny from 1.12.76.47
deny from 43.130.225.222
deny from 43.133.226.77
deny from 43.131.249.237
deny from 43.133.240.113
deny from 43.155.143.129
deny from 175.178.156.132
deny from 42.194.176.184
deny from 42.194.176.184
deny from 43.155.143.129
deny from 175.178.156.132
deny from 42.194.176.184
deny from 43.133.220.116
deny from 123.207.74.18
deny from 13.74.159.207
deny from 2.57.149.97
deny from 43.138.154.67
deny from 81.192.170.85
deny from 43.153.183.191
deny from 101.33.45.250
deny from 175.178.90.201
deny from 185.20.185.81
deny from 91.92.251.88
deny from 147.45.47.34
deny from 106.53.17.166
deny from 106.53.77.108
deny from 115.246.252.211
deny from 81.181.60.114
deny from 119.28.160.85
deny from 91.217.249.*
deny from 150.109.12.174
deny from 150.109.11.89
deny from 211.91.71.34
deny from 43.134.124.123
deny from 43.134.89.191
deny from 147.78.47.81
deny from 154.64.5.36
deny from 104.28.240.84
deny from 142.132.197.123
deny from 104.28.208.85
deny from 147.45.47.135
deny from 192.3.228.238
deny from 107.151.253.107
deny from 107.20.26.208
deny from 213.109.202.67
deny from 101.47.8.29
deny from 36.78.110.154
deny from 154.53.44.144
deny from 110.138.202.205
deny from 51.142.21.39
deny from 20.63.19.52
deny from 114.222.251.135
deny from 114.222.251.133
deny from 197.32.186.175
deny from 74.125.212.*
deny from 147.78.47.102
deny from 36.68.223.30
deny from 137.226.25.28
deny from 31.41.244.202
deny from 38.75.136.250
###attacker###
deny from 170.106.*
deny from 129.226.*
deny from 43.120.*
deny from 119.28.105.111
deny from 101.32.115.96
deny from 49.51.70.245
deny from 101.32.243.24
deny from 101.32.254.77
deny from 150.109.23.33
deny from 124.156.207.130
deny from 124.156.205.228
deny from 101.32.244.173
deny from 150.109.25.235
deny from 150.109.20.64
deny from 49.51.206.134
deny from 150.109.13.249
deny from 150.109.12.106
deny from 150.109.17.45
deny from 124.156.196.210
deny from 150.109.21.76
deny from 150.109.11.222
deny from 49.51.70.229
deny from 150.109.24.245
deny from 101.32.242.16
deny from 45.8.25.*
deny from 180.242.85.166
deny from 124.156.200.172
deny from 106.53.65.190
deny from 105.155.255.156
deny from 212.30.37.*
deny from 138.246.3.51
deny from 154.16.192.21
deny from 158.247.250.122
deny from 154.38.170.165
deny from 185.241.208.52
deny from 83.149.249.135

###///###
deny from 52.164.231.90
deny from 45.86.231.50
deny from 149.130.217.176

###ISP:Microsoft Corporation###
deny from 52.233.106.*
deny from 150.109.11.89
deny from 147.45.47.135	
###############################
#deny from google-proxy-66-249-93-231.google.com
#deny from google-proxy-66-249-93-232.google.com
#deny from google-proxy-66-249-93-233.google.com
############Urooj web department IP#################
deny from 103.236.132.98
deny from 208.91.197.27
########## journal websites######################
deny from 18.194.169.163

<Files 403.shtml>
order allow,deny
allow from all
</Files>
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/x-js text/js 
</IfModule>

## EXPIRES CACHING ##
<IfModule mod_headers.c> 
# Prevent click jacking 
#Header set X-Frame-Options Deny 
Header set X-Frame-Options: SAMEORIGIN 
#Header set X-Frame-Options "ALLOW-FROM https://www.benthamscience.com"
</IfModule>
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteRule ^(.*)$ "https\:\/\/www\.eurekaselect\.com\/$1" [R=301,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php82” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
