웹프로그래밍

Global It Leader!!


그누보드


 
 

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

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 11,105회 작성일 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 홈페이지 팁 게시판

댓글목록

등록된 댓글이 없습니다.

전체 63
게시물 검색
그누보드 목록
번호 제목 글쓴이 조회 날짜
63 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 16806 03-15
62 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 15958 04-28
61 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11894 05-11
열람중 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11106 04-28
59 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9259 05-04
58 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7776 04-28
57 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7337 09-29
56 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6941 02-14
55 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5270 08-08
54 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4762 08-09
53 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4590 07-22
52 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4465 09-12
51 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4350 01-30
50 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4286 03-21
49 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4285 02-14
48 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4244 03-27
47 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4234 05-06
46 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4143 03-20
45 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4120 02-25
44 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4098 06-24