- View the diff.
- View the source.
- Go to Xoops Cube/Hack/HTTPS (E).
1: 2009-07-13 (Mon) 10:53:27 admin | Cur: 2010-08-29 (Sun) 10:20:50 iseki | ||
---|---|---|---|
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"> |
- Backup list of Xoops Cube/Hack/HTTPS (E)
- Backup diff of Xoops Cube/Hack/HTTPS (E) vs current(No. All)
- 1: 2009-07-13 (Mon) 10:53:27 admin
- 2: 2009-07-13 (Mon) 11:04:46 admin