shinjuku_php
@shinjuku_php

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

.htaccessについて

Q&A

Closed

.htaccessファイルに書かれている内容がわかりません。
書かれている内容について教えていただきたいです。

現在、ワードプレスでサイト運用しているのですが、最近、ブラウザ上で”ページが開けません”となることが多かったので、原因についていろいろ調べていたところ、.htaccessファイルを開いたらこのような状態でした。

以下の内容について教えていただけますと幸いです。
どうぞよろしくお願いいたします。

(.htaccessの書かれていた内容)

BLOCKIP_START2


order allow,deny
allow from all
deny from 193.189.100.198
deny from 185.200.117.167
deny from 88.99.95.125
deny from 184.168.46.200
deny from 62.210.202.242
deny from 185.200.117.195
deny from 62.210.178.60
deny from 150.136.144.54
deny from 13.235.43.39
deny from 62.210.180.176
deny from 20.97.173.169
deny from 128.199.89.17
deny from 50.62.208.151
deny from 62.210.211.48
deny from 190.2.132.214
deny from 195.74.38.171
deny from 52.65.71.11
deny from 45.91.23.117
deny from 195.154.200.4
deny from 62.210.180.135
deny from 139.155.179.86
deny from 107.180.120.67
deny from 62.210.178.33
deny from 20.89.128.140
deny from 20.83.169.32
deny from 194.61.54.86
deny from 69.27.14.138
deny from 45.153.160.139
deny from 208.113.181.151
deny from 191.235.86.94
deny from 45.40.166.167
deny from 198.71.239.41
deny from 172.70.49.189
deny from 104.168.34.155
deny from 46.254.15.210
deny from 82.102.25.148
deny from 104.41.35.23
deny from 184.168.152.20
deny from 202.129.16.157
deny from 97.74.24.189
deny from 191.252.129.253
deny from 37.156.216.132
deny from 40.71.95.7
deny from 132.148.121.21
deny from 46.45.161.42
deny from 89.187.187.104
deny from 182.50.130.188
deny from 134.122.31.214
deny from 129.213.160.208
deny from 20.42.56.149
deny from 13.212.104.251
deny from 198.71.239.28
deny from 84.17.42.54
deny from 82.165.105.17
deny from 149.28.156.129
deny from 213.142.156.221
deny from 199.231.188.248
deny from 23.228.109.147
deny from 176.109.191.178
deny from 144.76.76.228
deny from 66.33.194.39
deny from 158.69.42.164
deny from 89.161.250.174
deny from 172.104.183.220
deny from 199.188.221.154
deny from 168.232.207.1
deny from 47.105.135.30
deny from 217.12.221.24
deny from 143.198.175.237
deny from 194.147.142.160
deny from 51.89.213.55
deny from 77.247.127.149
deny from 82.165.185.18
deny from 95.105.125.84
deny from 217.160.195.176
deny from 188.68.47.141
deny from 45.63.11.243
deny from 20.52.17.78
deny from 198.54.121.131
deny from 162.218.176.34
deny from 188.165.197.116
deny from 45.40.166.136
deny from 71.42.236.91
deny from 184.168.193.199
deny from 94.101.214.98
deny from 184.168.46.123
deny from 91.219.237.21
deny from 160.153.154.1
deny from 20.51.241.179
deny from 160.153.154.7
deny from 184.168.152.78
deny from 66.210.158.60
deny from 139.155.232.231
deny from 45.124.87.198
deny from 20.97.50.169
deny from 217.138.194.126
deny from 182.50.130.192
deny from 198.71.239.50
deny from 139.155.236.88
deny from 50.63.196.149
deny from 173.201.190.31
deny from 66.115.181.163
deny from 97.74.24.102
deny from 34.71.133.246
deny from 82.102.25.141
deny from 45.141.84.35
deny from 50.63.197.166
deny from 184.168.152.99
deny from 40.83.178.138
deny from 107.180.120.58
deny from 198.136.62.152
deny from 213.164.205.169
deny from 31.210.20.110
deny from 74.201.28.87
deny from 85.233.160.31
deny from 104.236.41.231
deny from 103.62.48.229
deny from 5.2.69.50
deny from 50.62.208.138
deny from 199.195.250.77
deny from 198.71.238.30
deny from 199.249.230.106
deny from 198.144.120.177
deny from 197.185.101.184
deny from 154.27.68.104
deny from 184.168.46.82
deny from 94.237.7.138
deny from 185.200.117.199
deny from 46.105.45.118
deny from 195.74.38.135
deny from 198.71.238.14
deny from 52.250.119.225
deny from 208.64.33.154
deny from 206.189.177.8
deny from 34.125.111.28
deny from 160.153.154.6
deny from 156.146.56.108
deny from 40.112.161.126
deny from 52.150.21.109
deny from 128.199.149.190
deny from 157.7.188.136
deny from 176.123.9.123
deny from 103.229.73.117
deny from 62.140.0.108
deny from 13.77.82.157
deny from 182.50.151.4
deny from 13.67.168.48
deny from 212.102.60.130
deny from 206.189.151.69
deny from 173.201.196.120
deny from 101.37.116.183
deny from 64.111.106.179
deny from 49.51.49.254
deny from 130.176.186.112
deny from 184.168.193.188
deny from 154.62.50.132
deny from 132.148.104.129
deny from 20.97.26.87
deny from 104.238.120.77
deny from 13.92.184.202
deny from 50.62.169.100
deny from 13.91.246.163
deny from 198.71.238.4
deny from 144.202.85.242
deny from 185.232.250.244
deny from 104.238.98.243
deny from 184.168.152.103
deny from 137.116.115.135
deny from 193.148.16.248
deny from 103.141.97.44
deny from 198.71.239.22
deny from 50.62.208.182
deny from 198.71.239.39
deny from 5.134.6.149
deny from 3.84.119.203
deny from 160.153.154.2
deny from 212.129.40.197
deny from 138.201.84.36
deny from 106.55.26.228
deny from 104.45.130.231
deny from 69.55.54.220
deny from 184.168.193.10
deny from 118.24.101.35
deny from 91.219.236.228
deny from 160.153.146.166
deny from 72.34.61.219
deny from 209.141.55.26
deny from 193.169.255.204
deny from 119.45.240.155
deny from 54.68.152.249
deny from 162.247.74.202
deny from 40.76.242.63
deny from 107.189.29.41
deny from 184.168.152.76
deny from 216.193.224.215
deny from 139.59.33.53
deny from 212.102.33.34
deny from 129.146.140.161
deny from 201.150.35.113
deny from 160.153.156.133
deny from 5.181.235.71
deny from 184.168.152.131
deny from 66.199.191.89
deny from 18.182.13.78
deny from 5.199.143.202
deny from 107.180.120.56
deny from 52.149.231.148
deny from 64.20.53.82
deny from 3.26.0.19
deny from 97.74.24.169
deny from 107.189.10.237
deny from 188.213.31.175
deny from 68.183.231.120
deny from 34.126.180.179
deny from 51.15.235.211
deny from 185.38.175.71
deny from 184.168.193.99
deny from 185.232.250.176
deny from 43.129.77.146
deny from 52.146.15.53
deny from 198.98.57.230
deny from 185.145.203.195
deny from 50.63.194.53
deny from 85.214.201.173
deny from 50.62.177.36
deny from 119.29.138.90
deny from 137.135.10.237
deny from 167.172.25.155
deny from 198.71.239.42
deny from 94.23.219.141
deny from 40.121.141.91
deny from 93.90.146.112
deny from 103.56.70.111
deny from 176.31.225.170
deny from 45.153.160.131
deny from 103.97.100.15
deny from 139.99.170.231
deny from 82.102.25.153
deny from 62.210.207.196
deny from 54.179.46.227
deny from 132.148.104.131
deny from 199.204.208.168
deny from 114.202.2.198
deny from 198.71.238.2
deny from 91.121.140.103
deny from 198.71.239.51
deny from 47.242.51.82
deny from 142.126.206.47
deny from 78.101.17.95
deny from 184.168.152.201
deny from 159.8.56.46
deny from 185.220.101.13
deny from 207.246.240.113
deny from 171.25.193.20
deny from 185.232.248.35
deny from 66.230.230.230
deny from 176.123.9.201
deny from 45.40.156.13
deny from 38.121.43.104
deny from 103.133.108.27
deny from 185.220.101.130
deny from 18.117.23.39
deny from 217.149.7.196
deny from 115.159.23.54
deny from 207.246.240.99
deny from 192.42.116.18
deny from 167.71.229.158
deny from 207.246.240.103
deny from 139.59.16.193
deny from 160.153.147.155
deny from 173.201.196.63
deny from 45.153.160.2
deny from 160.153.154.31
deny from 97.74.24.187
deny from 50.63.196.150
deny from 185.191.124.151
deny from 3.14.153.179
deny from 185.220.101.199
deny from 104.40.59.112
deny from 20.52.152.164
deny from 107.191.41.121
deny from 149.28.224.81
deny from 45.76.6.160
deny from 18.118.153.50
deny from 45.32.165.181
deny from 77.87.196.88
deny from 163.172.16.18
deny from 209.126.30.101
deny from 79.96.146.151
deny from 139.59.115.229
deny from 87.107.121.109
deny from 37.156.216.150
deny from 82.165.187.17
deny from 13.66.252.107
deny from 54.38.123.236
deny from 45.251.112.107
deny from 77.221.130.5
deny from 103.81.84.152
deny from 198.100.149.189
deny from 47.52.135.58
deny from 51.68.11.191
deny from 199.188.200.86
deny from 5.62.41.120
deny from 195.154.178.122
deny from 40.79.28.167
deny from 185.100.86.182
deny from 176.10.99.200
deny from 184.168.193.131
deny from 13.89.57.62
deny from 87.251.67.235
deny from 23.19.58.186
deny from 198.71.239.31
deny from 81.88.49.35
deny from 50.62.208.43
deny from 157.245.79.63
deny from 137.117.83.203
deny from 185.64.104.114
deny from 62.210.185.4
deny from 23.96.124.104
deny from 23.99.130.157
deny from 184.168.27.62
deny from 107.170.72.201
deny from 203.150.228.128
deny from 169.38.72.12
deny from 185.220.100.241
deny from 52.168.85.104
deny from 173.201.196.55
deny from 160.153.153.30
deny from 185.174.40.19
deny from 198.71.239.34
deny from 45.153.160.129
deny from 20.97.56.50
deny from 64.250.88.126
deny from 62.112.194.218
deny from 184.168.152.74
deny from 160.153.147.161
deny from 183.110.224.126
deny from 183.111.138.172
deny from 183.110.224.56
deny from 84.252.95.134
deny from 20.69.248.129
deny from 64.252.184.72
deny from 198.71.239.45
deny from 160.153.154.23
deny from 20.185.225.194
deny from 52.230.66.131
deny from 115.159.117.88
deny from 50.63.194.54
deny from 183.91.78.211
deny from 54.179.132.56
deny from 165.232.181.155
deny from 45.153.160.136
deny from 52.149.160.77
deny from 150.136.246.61
deny from 13.84.189.1
deny from 98.7.102.21
deny from 193.194.69.98
deny from 18.138.252.90
deny from 45.40.166.141
deny from 71.19.154.84
deny from 8.210.225.200
deny from 84.17.55.121
deny from 104.43.243.104
deny from 159.89.49.186
deny from 221.235.184.72
deny from 160.153.154.19
deny from 66.42.34.81
deny from 97.74.24.206
deny from 94.23.196.86
deny from 198.71.238.15
deny from 54.168.221.151
deny from 94.7.29.15
deny from 20.97.57.3
deny from 217.170.206.138
deny from 185.247.225.79
deny from 103.107.198.230
deny from 47.242.132.1
deny from 86.67.73.163
deny from 37.187.29.31
deny from 79.136.1.46
deny from 123.30.238.187
deny from 184.168.152.176
deny from 114.117.166.20
deny from 176.139.206.33
deny from 34.136.163.164
deny from 75.119.219.102
deny from 42.193.144.42
deny from 45.40.165.142
deny from 185.220.102.250
deny from 184.168.46.84
deny from 93.66.9.134
deny from 173.201.184.135
deny from 93.115.150.103
deny from 47.24.34.126
deny from 20.102.71.228
deny from 185.247.225.73
deny from 42.112.30.70
deny from 37.120.142.238
deny from 157.230.130.85
deny from 160.153.156.141
deny from 159.8.56.56
deny from 198.71.239.36
deny from 149.202.76.139
deny from 222.73.22.8
deny from 20.40.82.104
deny from 176.10.104.240
deny from 20.84.114.126
deny from 178.63.97.34
deny from 185.220.101.138
deny from 45.40.156.14
deny from 109.70.100.48
deny from 138.91.117.222
deny from 160.153.154.27
deny from 103.107.198.231
deny from 5.157.80.233
deny from 119.29.111.220
deny from 210.16.189.15
deny from 107.180.120.63
deny from 184.168.46.207
deny from 103.21.142.12
deny from 182.50.151.41
deny from 172.70.49.137
deny from 199.249.230.156
deny from 97.74.24.103
deny from 50.63.194.15
deny from 20.98.246.25
deny from 119.29.95.80
deny from 199.204.208.167
deny from 157.245.210.150
deny from 13.66.197.7
deny from 51.222.29.254
deny from 107.180.120.72
deny from 50.63.197.69
deny from 47.242.158.51
deny from 218.255.198.254
deny from 159.75.131.24
deny from 185.94.192.90
deny from 122.155.3.94
deny from 173.201.196.113
deny from 183.56.193.36
deny from 176.113.115.10
deny from 51.161.43.237
deny from 104.244.72.115
deny from 213.164.204.177
deny from 51.38.8.84
deny from 20.94.223.187
deny from 20.42.85.57
deny from 13.82.145.55
deny from 185.220.101.4
deny from 43.241.57.18
deny from 118.24.128.112
deny from 62.210.178.72
deny from 216.57.225.2
deny from 210.16.189.8
deny from 52.194.188.238
deny from 23.83.91.178
deny from 209.141.46.249
deny from 165.227.82.163
deny from 168.63.201.53
deny from 139.155.59.176
deny from 52.188.65.166
deny from 13.92.143.167
deny from 62.210.123.29
deny from 164.132.44.97
deny from 194.246.92.179
deny from 185.212.131.93
deny from 159.203.81.46
deny from 40.74.240.90
deny from 213.136.86.246
deny from 159.203.83.245
deny from 94.23.199.195
deny from 5.135.154.75
deny from 198.211.122.238
deny from 138.197.121.19
deny from 68.183.188.176
deny from 195.154.191.51
deny from 167.88.63.96
deny from 158.69.246.100
deny from 104.131.113.93
deny from 94.23.39.217
deny from 23.95.80.63
deny from 108.179.221.197
deny from 79.137.34.146
deny from 162.144.141.152

BLOCKIP_END2

BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

END WordPress

0

1Answer

order allow,deny #拒否設定が優先されるよ
allow from all #基本的に許可するよ
deny from 193.189.100.198 でもこのIPアドレスは拒否するよ
 :
 :
以下略

参考
https://qiita.com/shotets/items/58a69aa15e2adc9f930a

あなたのIPアドレスがdeny(拒否)設定になっていると思われます。

3行目以降にあるdeny設定の中で自分のIPアドレスを削除すれば表示されると思います。
よくわからない場合は3行目以降のdenyで始まる行を全部消してしまえば表示されるはずです。

1Like

Comments

  1. @shinjuku_php

    Questioner

    ご丁寧にご回答いただきまして、
    ありがとうござます。

    試してみましたら
    通常通り表示されるようになりました。
    ありがとうございました。

Your answer might help someone💌