0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ConoHaでEC-CUBEインストールしたらSSLしなかった件

Last updated at Posted at 2022-05-17

動作環境

レンタルサーバーConoHa
EC-CUBE 4.1.0

不具合

スクリーンショット 2022-05-17 23.43.31.png
色々操作ができない

原因

SSL通信できていないことらしい

SSLを強制に✔︎できない

スクリーンショット 2022-05-17 23.48.16.png

WAFが関係しているらしい

AWS
ConoHa
などで発生している模様

解決

.htaccessに以下を追記

RewriteRule ^(.*) - [E=HTTPS:on]

SiteGuard_User_ExcludeSig ip(1.2.3.4)

SiteGuard_User_ExcludeSig ip(サイト管理者・運営者のIPアドレス)

ConoHaのIPアドレスを調べる

管理画面>サーバー管理>契約情報>スペック

vim root/.htaccess
RewriteRule ^(.*) - [E=HTTPS:on]

<IfModule mod_siteguard.c>
SiteGuard_User_ExcludeSig ip(1.2.3.4)
SiteGuard_User_ExcludeSig ip(xx.xx.xx.xx)
</IfModule>

参考記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?