티스토리 뷰
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
- 데브옵스
- JVM
- rsync
- nginx
- 엔서블
- rundeck
- Password manager
- ssl
- 젠킨스
- Docker
- vagrant
- openssl
- Nexus
- 쓰레드덤프
- DevOps
- Ansible
- URL Encoding
- Linux
- Shell Script
- iTerm2
- Thread Dump
- 리눅스
- PostgreSQL
- Config History
- 플레이북
- groovy
- 파이프라인
- Jenkins
- 엔시블
- Playbook
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함