티스토리 뷰
Redirect permanent /foo http://www.example.com/bar
/foo URI패턴의 요청이 오면,
http://www.example.com/bar 로 Redirect 수행
/ 이하 모든 요청을 다른 도메인으로 Redirect 하기
RedirectMatch temp .* http://mcpaint.tistory.com/
만일, 1개 도메인에 여러 URI 패턴으로 구분할 경우
<Location /uri1>
RedirectMatch temp .* http://mcpaint.tistory.com/uri1/
</Location>
<Location /uri2>
RedirectMatch temp .* http://mcpaint.tistory.com/uri2/
</Location>
<Location />
RedirectMatch permanent ^/$ http://mcpaint.tistory.com/
</Location>
'WEB,WAS > Web Server' 카테고리의 다른 글
[Apache] KeepAlive 설정 (0) | 2010.07.17 |
---|---|
[Apache] Alias (0) | 2010.07.17 |
[Apache] ErrorDocument 설정 (0) | 2010.07.17 |
[Apache] Mime-type 설정 (0) | 2010.07.17 |
[Apache] LogLevel (0) | 2010.07.17 |
[Apache] Welcome-file 설정 (0) | 2010.07.17 |
[Apache] 디렉토리 보안설정 (0) | 2010.07.17 |
[Apache] apachectl 명령어 (0) | 2010.07.16 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Password manager
- Shell Script
- JVM
- DevOps
- groovy
- Ansible
- 리눅스
- 쉘스크립트
- 젠킨스
- 쓰레드덤프
- URL Encoding
- Linux
- iTerm2
- vagrant
- rsync
- 엔시블
- Playbook
- Docker
- Nexus
- 데브옵스
- openssl
- PostgreSQL
- 플레이북
- Config History
- Jenkins
- 파이프라인
- 엔서블
- nginx
- Thread Dump
- ssl
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함