flagflag  If you want to see English page, please click "English" Button at Left.
1: 2008-12-26 (金) 02:15:14 admin ソース 現: 2010-03-29 (月) 10:54:52 iseki ソース
Line 1: Line 1:
-** HTTPS でのログイン,パスワード変更 [#x936ff34] +** ログイン,パスワード変更などの場合のみ HTTPS を使用する方法 [#x936ff34]
-*** include/functions.php xoops_refcheck() の変更 [#c9353798] +
-   // Fumi.Iseki +
-   $ref = preg_replace("/^https:/i", "http:", $ref); +
-   $url = preg_replace("/^https:/i", "http:", XOOPS_URL);+
-    //if (strpos($ref, XOOPS_URL) !== 0 ) { +*** mainfile.php を修正 [#o19b57c1] 
- ;   if (strpos($ref, $url) !== 0 ) {+-  ''XOOPS_SSL_URL'' 変数を追加 
 + 例) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/xoops');
-*** mainfile.php の修正 [#o19b57c1+*** include/functions.php の xoops_refcheck() 関数を以下のように修正する (REFERER エラー対策) [#za98fe26
-XOOPS_SSL_URL を追加+ 158,164c158 
 + <    if (strpos($ref, XOOPS_URL) !== 0 ) { 
 + --- 
 + >    // Fumi.Iseki 
 + >    $ref = preg_replace("/^https:/i", "http:", $ref); 
 + >    $url = preg_replace("/^https:/i", "http:", XOOPS_URL); 
 + > 
 + >    //if (strpos($ref, XOOPS_URL) !== 0 ) { 
 + >    if (strpos($ref, $url) !== 0 ) {
 +*** User module のテンプレートを編集する[#z95aa9cb]
 +- ALTSYS がインストールされている場合.
 +-- 管理画面 -> SLTSYS -> テンプレート管理 -> User module を選択
 +- ALTSYS がインストールされていないか使用しない場合
 +-- 管理画面 -> Legacy Renderer -> テンプレート管理 -> User module を選択
-<{$xoops_url}> -> <{$smarty.const.XOOPS_SSL_URL}> +- ''user_default.html'' 
--user_register_form.html + -<form action="<{$xoops_url}>/user.php" method="post"> 
--user_edituser.html + +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php" method="post">
--user_block_login.html+
--UserRegisterAction.class.php+- ''user_block_login.html'' 
 + -<form action="<{$xoops_url}>/user.php" method="post" style="margin-top: 0px;"> 
 + +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php​" method="post" style="margin-top: 0px;"> 
 + 
 +- ''user_edituser.html'' 
 + -<form action="#" method="post"> 
 + +<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser​.php" method="post"> 
 + 
 +- ''user_register_form.html'' 
 + -<form action="#" method="post"> 
 + +<form action="<{$smarty.const.XOOPS_SSL_URL}>/register​.php" method="post">


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

64 人のユーザが現在オンラインです。 (15 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 64

もっと...

アクセスカウンタ

今日 : 1812181218121812
昨日 : 1631416314163141631416314
総計 : 2351458723514587235145872351458723514587235145872351458723514587
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com