Linux
mod_rewrite
CHOMAN
2017. 9. 11. 13:38
mod_rewrite
mod_rewrite 는 규칙 기반으로 URL 을 동적으로 전환 및 재작성할 수 있는 아파치 확장 모듈 깔끔한 URL 로 재작성 (짧은주소) 대규모 가상 호스트 (vhost) 수정 대신 호스트명을 디렉토리 경로로 변환 가능 (웹호스팅 서비스) Redirect (다른 URL로 치한해서 보여줌), 위장 (정확한 파일 경로를 보여주고 싶지 않음), 치한 |
mod_rewrite 동작 순서
RewriteCond TestString Condition [Flags] RewriteCond |
TestString : 서버 변수 : %{VARIABLE}
RewriteBase
|
mod_rewrite 서적
The Definitive Guide to Apache mod_rewrite |
apache mod_rewrite 문서
http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html |
mod_rewrite 문법 참고 사이트
https://www.lesstif.com/pages/viewpage.action?pageId=18219493 |
mod_rewrite 서버 변수 참고 사이트
|
참고사이트
https://www.lesstif.com/pages/viewpage.action?pageId=18219493 http://heart4u.co.kr/tblog/172 |