<-
Apache > HTTP Server > Documentation > Version 2.2 > 모듈

Please note

This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) is documented here. If you have not already upgraded, please follow this link for more information.

You may follow this link to go to the current version of this document.

아파치 모듈 mod_env

가능한 언어:  en  |  ja  |  ko  |  tr 

이 문서는 최신판 번역이 아닙니다. 최근에 변경된 내용은 영어 문서를 참고하세요.
설명:CGI 스크립트나 SSI 페이지에 전달할 환경변수를 수정한다
상태:Base
모듈명:env_module
소스파일:mod_env.c

요약

이 모듈은 CGI 스크립트나 SSI 페이지에 전달할 환경변수를 조절한다. 웹서버를 시작한 쉘에서 환경변수를 가져올 수 있다. 아니면 설정과정중에 환경변수를 설정하고 제거할 수 있다.

지시어들

참고

top

PassEnv 지시어

설명:쉘에서 환경변수를 가져온다
문법:PassEnv env-variable [env-variable] ...
사용장소:주서버설정, 가상호스트, directory, .htaccess
Override 옵션:FileInfo
상태:Base
모듈:mod_env

웹서버를 실행한 쉘의 특정 환경변수를 CGI 스크립트나 SSI 페이지로 전달한다.

예제

PassEnv LD_LIBRARY_PATH

top

SetEnv 지시어

설명:환경변수를 설정한다
문법:SetEnv env-variable value
사용장소:주서버설정, 가상호스트, directory, .htaccess
Override 옵션:FileInfo
상태:Base
모듈:mod_env

CGI 스크립트나 SSI 페이지에 전달할 환경변수를 설정한다.

예제

SetEnv SPECIAL_PATH /foo/bin

top

UnsetEnv 지시어

설명:환경변수를 제거한다
문법:UnsetEnv env-variable [env-variable] ...
사용장소:주서버설정, 가상호스트, directory, .htaccess
Override 옵션:FileInfo
상태:Base
모듈:mod_env

CGI 스크립트나 SSI 페이지에 환경변수를 전달하지 않는다.

예제

UnsetEnv LD_LIBRARY_PATH

가능한 언어:  en  |  ja  |  ko  |  tr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
Comments are disabled for this page at the moment.