Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
Xoops Cube/Hack/HTTPS
[
Front page
]
[ ]
Start:
** ログイン,パスワード変更などの場合のみ HTTPS を使用す...
*** mainfile.php を修正
- ''XOOPS_SSL_URL'' 変数を追加
例) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/...
*** include/functions.php の xoops_refcheck() 関数を以下...
158,164c158
< if (strpos($ref, XOOPS_URL) !== 0 ) {
---
> // Fumi.Iseki
> $ref = preg_replace("/^https:/i", "http:", $ref);
> $url = preg_replace("/^https:/i", "http:", XOOPS_U...
>
> //if (strpos($ref, XOOPS_URL) !== 0 ) {
> if (strpos($ref, $url) !== 0 ) {
*** User module のテンプレートを編集する
- ALTSYS がインストールされている場合.
-- 管理画面 -> SLTSYS -> テンプレート管理 -> User module ...
- ALTSYS がインストールされていないか使用しない場合
-- 管理画面 -> Legacy Renderer -> テンプレート管理 -> Use...
- ''user_default.html''
-<form action="<{$xoops_url}>/user.php" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_block_login.html''
-<form action="<{$xoops_url}>/user.php" method="post" st...
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_edituser.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser....
- ''user_register_form.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/register....
End:
** ログイン,パスワード変更などの場合のみ HTTPS を使用す...
*** mainfile.php を修正
- ''XOOPS_SSL_URL'' 変数を追加
例) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/...
*** include/functions.php の xoops_refcheck() 関数を以下...
158,164c158
< if (strpos($ref, XOOPS_URL) !== 0 ) {
---
> // Fumi.Iseki
> $ref = preg_replace("/^https:/i", "http:", $ref);
> $url = preg_replace("/^https:/i", "http:", XOOPS_U...
>
> //if (strpos($ref, XOOPS_URL) !== 0 ) {
> if (strpos($ref, $url) !== 0 ) {
*** User module のテンプレートを編集する
- ALTSYS がインストールされている場合.
-- 管理画面 -> SLTSYS -> テンプレート管理 -> User module ...
- ALTSYS がインストールされていないか使用しない場合
-- 管理画面 -> Legacy Renderer -> テンプレート管理 -> Use...
- ''user_default.html''
-<form action="<{$xoops_url}>/user.php" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_block_login.html''
-<form action="<{$xoops_url}>/user.php" method="post" st...
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php"...
- ''user_edituser.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser....
- ''user_register_form.html''
-<form action="#" method="post">
+<form action="<{$smarty.const.XOOPS_SSL_URL}>/register....
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2025
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
96 user(s) are online (13 user(s) are browsing xpwiki)
Members: 0
Guests: 96
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com