webtob-jeus www 없이 접속
네이버아이디로 로그인 적용후.
개발서버에선 문제가 없던 녀석이.. 운영서버에서 문제가 발생했다.
서버 환경 : jeus -webtob
개발서버 : https://test.aaa.com
운영서버 : https://www.aaa.com
*네이버 로그인 에 등록되는 url 은 https://aaa.com ( www 등록 불가)
webtob 에서 https 접속시 www없이 접속가능하게 설정해야한다.
1. 설정 파일 수정
/yyyyy/tmax/webtob/config/http.m
----------------------------------------
..
*VHOST
front DOCROOT = "/xxxxx/front",
HOSTNAME = "www.aaa.com",
HOSTALIAS = "123.345.678.160,123.345.678.161,aaa.com",
PORT = "80",
Headers ="headers",
ERRORDOCUMENT = "503,404",
URLRewrite = Y,
URLRewriteConfig = "/yyyyyy/tmax/webtob/config/rewrite.conf",
LOGGING = "acc_front",
ERRORLOG = "err_front"
front_ssl DOCROOT ="/xxxx/front",
HOSTNAME = "www.aaa.com",
HOSTALIAS = "123.345.678.160,123.345.678.161,aaa.com",
PORT = "443",
Headers ="headers",
ERRORDOCUMENT = "503,404",
LOGGING = "acc_front_ssl",
ERRORLOG = "err_front_ssl",
SSLFLAG = Y,
SSLNAME = ssl1
..
----------------------------------------
2. 컴파일
wscfl -i http.m
-----------------------------------------
[aaaaa@Ewas1:/yyyyyy/tmax/webtob/config]$ wscfl -i http.m
CFL0367: Configuration uses SSL/TLS. When booting WebtoB, the user may need to type in password if certificates and/or private keys are encrypted. PassPhraseDialog may be used to avoid manually typing password.
CFL0368: Configuration uses privileged listen ports (those below 1024). These ports generally require root privilege. The user may run WebtoB as a superuser, or change the owner of htl to root and enable the setuid (sticky) bit on htl.
Current configuration:
Number of client handler(HTH) = 1
Supported maximum user per node = 7673
Supported maximum user per handler = 7673
Successfully created the configuration file (/yyyyy/tmax/webtob/config/wsconfig) for node Ewas1.
The host name of the running machine is Ewas1.
-----------------------------------------
3. webtob 재기동
wsdown
wsboot
............................................
* webtob 버전확인
[../tmax/webtob/config]$ wscfl -version
WebtoB 4.1 SP 9 Fix #1 SunOS_Sparc_64 FD8192 B308.1.0 devpoll 2016/07/04
* jeus 버전확인
[../tmax/webtob/config]$ jeusadmin -version
JEUS 7.0 (Fix#4)
[../tmax/webtob/config]$ jeusadmin -fullversion
7.0.0.4-b214
* jeus 라이선스 만료일 확인
[.../tmax/webtob/config]$ jeusadmin -licensedue
Unlimited
** Jeus 라이센스 만료시 jeusboot 가 되지 않으므로 만료일 확인하고 꼭. 라이선스 업데이트 하자.
>라이선스 재발급 : https://technet.tmaxsoft.com/