flagflag  
1: 2009-07-13 (Mon) 10:53:27 admin source 2: 2009-07-13 (Mon) 11:04:46 admin source
Line 1: Line 1:
-XXX+** Method of using HTTPS when login or change password[#j85cbc4a] 
 + 
 +*** Edit mainfile.php [#r237044a] 
 +add  ''XOOPS_SSL_URL'' 
 + ex.) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/xoops'); 
 + 
 +*** change  [ include/functions.php xoops_refcheck() ]  for evaide REFERER error. [#f7067201] 
 + 158,164c158 
 + < 
 + <    // 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 ) { 
 + 
 + 
 +*** Edit template files of User module [#r5815529] 
 +- ''user_default.html'' 
 + -<form action="<{$xoops_url}>/user.php" method="post"> 
 + +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php​" method="post"> 
 + 
 +- ''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">


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 MonthJun 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
Today

Who's Online

32 user(s) are online (5 user(s) are browsing xpwiki)

Members: 0
Guests: 32

more...

Access Counter

Today : 2821282128212821
Yesterday : 4733473347334733
Total : 2373104623731046237310462373104623731046237310462373104623731046
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com