flagflag  
1: 2009-07-13 (Mon) 10:53:27 admin source Cur: 2010-08-29 (Sun) 10:20:50 iseki 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 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

19 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 19

more...

Access Counter

Today : 481481481
Yesterday : 3775377537753775
Total : 2369676623696766236967662369676623696766236967662369676623696766
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com