아파치 서버 (centos)에서...error log 위치를 변경하려는데~~
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error_log
답변 3개
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error_log
VirtualHost 안에 ErrorLog 지시자를 지정하지 않을 경우
컨테이너는 이곳 (ErrorLog logs/error_log) 에 로깅함
이라고 설명하고 있습니다.
우선 주석 내용처럼 VirtualHost 에 따로 지정을 해서 그런것은 아닌지 확인해 보세요.
답변을 작성하려면 로그인이 필요합니다.