- View the diff current.
- View the source.
- Go to Xoops Cube/Hack/HTTPS.
4: 2009-07-07 (Tue) 18:47:39 admin | 5: 2009-07-13 (Mon) 10:59:29 admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ** HTTPS でのログイン,パスワード変更 [#x936ff34] | + | ** ログイン,パスワード変更などの場合のみ HTTPS を使用する方法 [#x936ff34] |
- | *** change [ include/functions.php xoops_refcheck() ] for evaide REFERER error.[#c9353798] | + | |
+ | *** mainfile.php を修正 [#o19b57c1] | ||
+ | - ''XOOPS_SSL_URL'' 変数を追加 | ||
+ | 例) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/xoops'); | ||
+ | |||
+ | *** include/functions.php の xoops_refcheck() 関数を以下のように修正する (REFERER エラー対策) [#za98fe26] | ||
158,164c158 | 158,164c158 | ||
< | < | ||
Line 12: | Line 17: | ||
> if (strpos($ref, XOOPS_URL) !== 0 ) { | > if (strpos($ref, XOOPS_URL) !== 0 ) { | ||
- | *** mainfile.php の修正 [#o19b57c1] | + | *** User module のテンプレートを編集する[#z95aa9cb] |
- | ''XOOPS_SSL_URL'' を追加 | + | - ALTSYS がインストールされている場合. |
+ | -- 管理画面 -> SLTSYS -> テンプレート管理 -> User module を選択 | ||
+ | - ALTSYS がインストールされていないか使用しない場合 | ||
+ | -- 管理画面 -> Legacy Renderer -> テンプレート管理 -> User module を選択 | ||
+ | |||
+ | - ''user_default.html'' | ||
+ | -<form action="<{$xoops_url}>/user.php" method="post"> | ||
+ | +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php" method="post"> | ||
- | *** テンプレートファイルの修正 [#z95aa9cb] | ||
- ''user_block_login.html'' | - ''user_block_login.html'' | ||
-<form action="<{$xoops_url}>/user.php" method="post" style="margin-top: 0px;"> | -<form action="<{$xoops_url}>/user.php" method="post" style="margin-top: 0px;"> |
- Backup list of Xoops Cube/Hack/HTTPS
- Backup diff of Xoops Cube/Hack/HTTPS(No. All)