[완료] 아파치 설정중 Header, Footer설정 문의 드립니다.
글쓴이: vamf12 / 작성시간: 목, 2007/04/12 - 7:34오후
예전에 IIS에선 봤던 것 같은데...
특정한 디렉토리(도메인이든 뭐든)의 요청에 대해서 무조건적으로 HEADER와 FOOTER를 추가하는 것이 없나요?
SSI는 문서에 추가적인 작업을 해줘야 해서 용도가 좀 다른 것 같습니다.
예를 들어서 Header.html, Footer.html이 있고. 이두개를 지정해두면, 다른 문서의 요청에 대해서 무조건 앞뒤로 붙여서 응답하는 방식 말입니다.
BODY.html이 있다고 하면
http://foo.bar.com/BODY.html 하면 Header.html + BODY.html + Footer.html 이런식으로 출력해주는 거죠
Forums:
아파치 기본
아파치 기본 모듈중에는 없는것 같네요.
php 설치하셨다면,
.htaccess 파일을 통해
php_prepend_file, php_append_file 설정으로 해결할 수 있습니다.
emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇개 안되요~
https://xenosi.de/
글쿤요... ^^
아파치 기본 묘듈이 없는 관계로...
간단하게 mod_rewrite와 prel횽아의 도움을 받기로 했습니다. ^^
//답변감사합니다.
댓글 달기