- 라이믹스 썸띵모듈 활용해서 개인주소로 접속하기2021년 10월 15일
- TheStorybook
- 작성자
- 2021.10.15.:19
각 Nginx XE-Rewrite conf 설정 파일 편집 합니다.
각 서버의 xe-rewrite을 담당하는 부분 아래에 다음과 같이 룰을 추가해 주세요.
rewrite ^/@([a-zA-Z0-9가-힇_]+)/?$ /index.php?mid=testmid&act=dispSomethingProfileView&smember=$1 last;
testmid = 관리자 -> 기본설정 -> "mid 설정" 에 입력한 값으로 변경해 주세요.
주소 형태 http(s)://XEURL/@user
user = 관리자 -> 접속설정 "주소형태"에서 설정한 회원의 정보를 입력해 주세요.
예) "아이디" 설정시 https(s)://XEURL/@회원별아이디 이용 가능
기본 안내법
내 설정 법
# block direct access to templates, XML schemas, config files, dotfiles, environment info, etc. location ~ ^/modules/editor/(skins|styles)/.+\.html$ { # pass } location ~ ^/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ { return 403; } location ~ ^/files/(attach|config|cache/store)/.+\.(ph(p|t|ar)?[0-9]?|p?html?|cgi|pl|exe|[aj]spx?|inc|bak)$ { return 403; } location ~ ^/files/(env|member_extra_info/(new_message_flags|point))/ { return 403; } location ~ ^/(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) { return 403; } # fix incorrect relative URLs (for legacy support) location ~ ^/(.+)/(addons|files|layouts|m\.layouts|modules|widgets|widgetstyles)/(.+) { try_files $uri $uri/ /$2/$3; } # fix incorrect minified URLs (for legacy support) location ~ ^/(.+)\.min\.(css|js)$ { try_files $uri $uri/ /$1.$2; } # fix download URL when other directives for static files are present location ~ ^/files/download/ { try_files $uri $uri/ /index.php$is_args$args; } rewrite ^/@([a-zA-Z0-9가-힇_]+)/?$ /index.php?mid=user&act=dispSomethingProfileView&smember=$1 redirect; rewrite ^/@([a-zA-Z0-9가-힇_]+)/?$ /index.php?mid=user&smember=$1 redirect; rewrite ^/@([a-zA-Z0-9가-힇_]+)/?$ /user?smember=$1 redirect; # all other short URLs location / { try_files $uri $uri/ /index.php$is_args$args; }
rhymix-nginx.conf 파일 수정
여기서 mid 뒷편에 있는 user는 썸띵 모듈내 내가 지정하는 호출명
'XE(Rhymix) > 변수 응용' 카테고리의 다른 글
레이아웃 또는 로그인 위젯 스킨에서 프로필 이미지 출력해주는 방법 (0) 2022.04.01 검색 툴 엔터키 작동 팁 (0) 2022.03.30 타임라인 모듈 , 목록에 게시판 이름 나오게 하기 (0) 2021.08.13 '권한이 없습니다' 창에서 로그인버튼을 없애고 싶어요 (0) 2021.08.11 게시판 본문 내용에 영문주소 작성등으로 레이아웃 깨질때.. (0) 2021.08.11 다음글이전글이전 글이 없습니다.댓글
스킨 업데이트 안내
현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)