웹프로그래밍

Global It Leader!!


그누보드


 
 

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

페이지 정보

작성자 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 댓글 0건 조회 11,096회 작성일 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
게시물 검색
그누보드 목록
번호 제목 글쓴이 조회 날짜
39 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2531 01-28
38 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3131 11-06
37 no_profile 운영자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2694 11-01
36 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3044 02-23
35 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3057 10-21
34 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3097 10-21
33 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3408 10-15
32 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 2943 06-14
31 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3838 06-14
30 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5262 08-08
29 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3724 12-25
28 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4582 07-22
27 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3734 07-21
26 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3637 05-06
25 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4227 05-06
24 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 3583 04-15
23 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4456 09-12
22 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4280 03-21
21 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4277 02-14
20 no_profile 오원장 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6931 02-14