flagflag  
4: 2009-07-07 (Tue) 18:47:39 admin source Cur: 2010-03-29 (Mon) 10:54:52 iseki source
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
- < + <    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 ) {+
 ---  ---
- >    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 を選択
-*** mainfile.php の修正 [#o19b57c1] +- ''user_default.html'' 
-''XOOPS_SSL_URL'' を追加+ -<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;">


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

38 user(s) are online (6 user(s) are browsing xpwiki)

Members: 0
Guests: 38

more...

Access Counter

Today : 2941294129412941
Yesterday : 5790579057905790
Total : 2365573723655737236557372365573723655737236557372365573723655737
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com