전체적 SSL 보안인증서 리다이렉트 적용 방법 정보
전체적 SSL 보안인증서 리다이렉트 적용 방법본문
호요님의 많은 도움으로 무료 SSL 보안인증서를 적용받았습니다^^
고수님들은 다아실거고
초보분만 보세요^^
부분적으로할려니 귀찮으신분은 전체적으로 리다이렉트시키시면됩니다.
.htaccess 파일에 삽입하시면됩니다.
xxx.com 입력시 https://xxx.com:510101 로 리다이렉트됩니다.
-----------------------------------------
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://xxx.com:510101 [R,L]
-----------------------------------------
RewriteRule .* https://xxx.com:510101 [R,L] <----포트번호까기 입력 수정
고수님들은 다아실거고
초보분만 보세요^^
부분적으로할려니 귀찮으신분은 전체적으로 리다이렉트시키시면됩니다.
.htaccess 파일에 삽입하시면됩니다.
xxx.com 입력시 https://xxx.com:510101 로 리다이렉트됩니다.
-----------------------------------------
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://xxx.com:510101 [R,L]
-----------------------------------------
RewriteRule .* https://xxx.com:510101 [R,L] <----포트번호까기 입력 수정
추천
1
1
댓글 6개
php,mysql 단독서버를 관리 업체에 맡겨 사용중인데요...
저 파일 .htaccess는 어디서 찾나요 ?
알ftp 숨김파일 보기로 해도 안 보이고
에플에서도 안 보이는데요 ?
저 파일 .htaccess는 어디서 찾나요 ?
알ftp 숨김파일 보기로 해도 안 보이고
에플에서도 안 보이는데요 ?
만들어야 되는거죠 ....
www 최상위에있습니다.
.. 계속 위로 클릭하시면될껏같은데.....
.. 계속 위로 클릭하시면될껏같은데.....
계정 최상위 폴더안에 존재합니다만..없으시면 새로 만드셔야겠지요 ~
좋은 정보 감사드립니다.
말씀하신대로 적용을 했더니 페이지가 자동으로 변환된 보안주소로 전환되는데요.
그 대신 이미지들이 전부 깨지는 현상이 일어납니다..ㅠㅠ
해결점이 없을까요?
말씀하신대로 적용을 했더니 페이지가 자동으로 변환된 보안주소로 전환되는데요.
그 대신 이미지들이 전부 깨지는 현상이 일어납니다..ㅠㅠ
해결점이 없을까요?
적용해봤는데 아래처럼 에러가 나네요. ㅠㅠ
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, *** 개인정보보호를 위한 이메일주소 노출방지 *** and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (CentOS) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 Server at 도메인 Port 80
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, *** 개인정보보호를 위한 이메일주소 노출방지 *** and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (CentOS) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 Server at 도메인 Port 80