[Tep-j-general] 共有SSL(サブドメイン)設定について

Back to archive index

net shokuhin admin****@searc*****
2007年 3月 13日 (火) 21:38:36 JST


レンタルサーバにて共有SSL(サブドメイン)利用の際、「catalog」ページの設定がうまくいきません。

「catalog/includes/configure.php」の記述

  define('HTTP_SERVER', 'https://*****.sample.net'); // eg,
http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://*****.sample.net'); // eg,
https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?

-----

「admin/includes/configure.php」の記述

  define('HTTP_SERVER', 'https://*****.sample.net'); // eg,
https://localhost or - https://localhost should not be empty for productive
servers
  define('HTTP_CATALOG_SERVER', 'https://*****.sample.net');
  define('HTTPS_CATALOG_SERVER', 'https://*****.sample.net');
  define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog
module

上記記述は、サブドメイン名「*****.sample.net」にて共有SSLを、「catalog」ページ全てで
利用している状態です。できれば、ログイン・カートを見る・新しいアカウントなど、入力画面
のみSSLにて利用したいと考えています。

「catalog/includes/configure.php」の「define('HTTP_SERVER',
'https://*****.sample.net'); 」
記述を「define('HTTPS_SERVER', 'http://基本ドメイン名'); 」と変更すれば、利用可能なの
ですが、カート画面(https)→トップページ(http)とページ遷移した場合、カートの中身が全て
消えてしまいます。また、セッション管理の問題であると思い、管理画面より「セッションの再生成」
を「true」「false」どちらを試しても、カート画面(https)→トップページ(http)とページ遷移した
場合、カートの中身が全て消えてしまいます。

私が利用しているレンタルサーバでは、ログイン・カートを見る・新しいアカウントなど、入力画面
のみSSLにて利用することはできないのでしょうか。また、利用できるのであれば、どの設定・
記述を見直せばいいのでしょうか。ご教授願います。

---------------------------------

ネット食品館

坪井 大

 admin****@searc*****

--------------------------------- 




Tep-j-general メーリングリストの案内
Back to archive index