웹프로그래밍

Global It Leader!!


그누보드


 
 

SSL 보안인증 로그인 및 회원가입에만 적용하기

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 11,056회 작성일 10-04-28 19:28

본문

조건1 : 로그인, 회원가입때만 SSL사용
조건2 : 인증주소 ==> https://test.com:443
          (주의: https://www.test.com:443 일때와  https://test.com:443 은 다른 인증서임)
조건3: 그누보드 설치 http://test.com/

1. 환경설정

그누보드/  config.php

$g4['url'] = "";           --->(수정)   $g4['url'] = "http://test.com/";
$g4['https_url'] = "";   --->(수정)   $g4['https_url'] = "http://test.com/";

2. 외부로그인

그누보드 /skin/outlogin / 스킨 /outlogin.skin.1.php  에서

원본:    f.action = "<?=$g4[bbs_path]?>/login_check.php";
수정:    f.action = "https://test.com/bbs/login_check.php";
로 변경합니다.

3. 로그인

그누보드 / skin / member / 스킨 / login.skin.php  에서

17라인
원본: <input type="hidden" name="url" value='<?=$url?>'>
수정: <input type="hidden" name="url" value='http://www.test.com<?=$_SERVER['REQUEST_URI']?>'>

102라인
원본:    f.action = "./login_check.php";
수정:    f.action = "https://test.com/bbs/login_check.php";

4. 회원가입 (1)

그누보드 /skin/member/ 스킨 /register_form.skin.php

원본:  <input type="hidden" name="url" value="<?=$urlencode?>" />h
수정:  <input type="hidden" name="url" value="http://test.com<?=$_SERVER['REQUEST_URI']?>" />

원본:    f.action = "./register_form_update.php";
수정:    f.action = "https://test.com/gnuboard/bbs/register_form_update.php";


5. 회원가입 (2)

그누보드 /bbs/ register_form_update.php

원본:    goto_url("./register_result.php");
수정:    goto_url("http://test.com/bbs/register_result.php");

참고 : http://www.sir.co.kr 홈페이지 팁 게시판

댓글목록

등록된 댓글이 없습니다.

전체 59
게시물 검색
그누보드 목록
번호 제목 글쓴이 조회 날짜
19 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4297 01-30
18 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3718 08-20
17 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4058 06-24
16 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4198 03-27
15 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3989 03-26
14 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4089 03-20
13 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3630 03-13
12 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4071 02-25
11 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3765 02-21
10 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3967 01-31
9 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3920 11-29
8 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3951 11-15
7 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 16760 03-15
6 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11835 05-11
5 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7291 09-29
4 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9210 05-04
3 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 15909 04-28
2 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7730 04-28
열람중 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11057 04-28