- 現在との差分 を表示
- ソース を表示
- Xoops Cube/Hack/HTTPS (E) へ行く。
1: 2009-07-13 (月) 10:53:27 admin | 2: 2009-07-13 (月) 11:04:46 admin | ||
---|---|---|---|
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"> |
- Xoops Cube/Hack/HTTPS (E) のバックアップ一覧
- Xoops Cube/Hack/HTTPS (E) のバックアップ差分(No. All)
- 1: 2009-07-13 (月) 10:53:27 admin
- 2: 2009-07-13 (月) 11:04:46 admin
- 現: 2010-08-29 (日) 10:20:50 iseki