Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

何故かtest.localへリダイレクトされてしまう。 #62

Closed
yuitsubasapapa opened this issue Mar 19, 2015 · 8 comments
Closed
Labels
question Further information is requested

Comments

@yuitsubasapapa
Copy link

eccube_install.shを環境に合わせて編集し、スクリプトを実行したにもかかわらず、
http://xxx.xxx.xxx/
(eccube_install.shに記述したURL)にアクセスすると、http://test.local/にアクセスしてしまい、エラーとなってしまします。
他に修正すべきファイルがあるのでしょうか?

@shinichi-takahashi
Copy link

ベータリポジトリ(eccube-3.0.0-beta)をチェックアウトされてますでしょうか?
/app/config/eccube/config.phpのHTTP_URLには、eccube_install.shに入力された値が入っていますか?

@yuitsubasapapa
Copy link
Author

yuitsubasapapa commented Mar 19, 2015 via email

@shinichi-takahashi
Copy link

hostsやVirutlalHostの設定などされてませんか?

@yuitsubasapapa
Copy link
Author

>hostsやVirutlalHostの設定などされてませんか?

お世話になります。

確認したところ、設定は行っていませんでした。

@ttsuru
Copy link
Contributor

ttsuru commented Mar 22, 2015

@yuitsubasapapa リダイレクトのキャッシュではないでしょうか。
/contact/ などは表示できますか?

@Yangsin Yangsin added the question Further information is requested label Mar 24, 2015
@Yangsin
Copy link

Yangsin commented Apr 16, 2015

@yuitsubasapapa
最新の状態でも再現するか確認いただけますでしょうか。
他に再現報告がないので、特にアップデートなければ、クローズさせていただきたく存じます。

@nanasess
Copy link
Contributor

こちらの環境でも再現しました。

  1. eccube-vagrant をセットアップ
  2. eccube_install.sh をデフォルト値で実行
  3. app/config/eccube 以下のホスト名が test.local になる
  4. 192.168.33.10 へアクセスしても test.local へリダイレクトする
  5. 間違いに気づいて app/config/eccube 以下の設定値を修正
  6. 再度 192.168.33.10 へアクセスしても、リダイレクトのキャッシュで test.local へリダイレクトしてしまう

という状況でした。
ブラウザのキャッシュをクリアすることで解消しました。

See also.

#102

@Yangsin
Copy link

Yangsin commented Apr 21, 2015

原因と解決方法が特定出来ましたので、 再発防止は、 #102 に議論を移しこちらはクローズします。

@Yangsin Yangsin closed this as completed Apr 21, 2015
okazy pushed a commit that referenced this issue Aug 16, 2018
メッセージID精査に伴ってテスト修正
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants