아마도 <directory> 시지자가 작동을 안하는 모냥이네요.
mod_dir.c 가 아파치에 컴파일 되어 있던지, 아니면 모듈로 올라가 있던지
해야 되겠어요.
$httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
mod_ssl.c
처럼 mod_dir.c 가 컴파일 되어 있는지 확인해보시구요.
그게 아니라면 conf 파일에 모듈로 올리는지 확인해보시구요.
: : : 안녕하세요?
: : :
: : : 원인을찾아 #표시하면 다른곳에서도 에러가 난다고 하셨는데,,
: : : 일단 무조건 #를 한다고 모면하는것도 아니고, 여러곳이 문법에
: : : 맞지않다면 같은 문제가 나올 수 있습니다.
: : : 아래 내용을 일단 번역을 하자면,
: : : httpd.conf의 332번째줄에서 문법오류가 있습니다. 잘못된 명령
어 'Order',
: : : 아마도 서버 설정안의 스펠링이 틀리거나, 모듈에 정의되지않은것일
수 있습니다.
: : : 입니다. 일단 httpd.conf를 봐야 문제의 원인을 알 수 있을것 같습니
다.
: : :
: : :
: : : : 급한질문하나 드립니다.
: : : : 웹서버 데몬 실행시 아래와 같은 에러가납니다.
: : : : 원인을 찾아 #표시를 하여 마킹을 하면 딴데서도 에러가 납니다.
: : : : 원인이 뭘까요..? 꼭좀 부탁드립니다.
: : : :
: : : : [root@samsunga conf]# /etc/rc.d/init.d/httpd restart
: : : : Shutting down http: [FAILED]
: : : : Starting httpd: Syntax error on line 332
of /etc/httpd/conf/httpd.conf:
: : : : Invalid command 'Order', perhaps mis-spelled or defined by a
module not included
: : : : in the server configuration
: : : : [FAILED]
: : :
: : : --
: : : Linuxkill.com, the linux indicator
: :
: :
: :
: : 답변감사드립니다. 그런데 모듈에 정의되지 않았다면... 어떻게 해야하
나요..
: : 참고로 스펠링은 틀리지 않았다고 생각합니다.
:
: # override. Can also be "All", or any combination
of "Options", "FileInfo",
: # "AuthConfig", and "Limit"
: #
: AllowOverride None
:
: #
: # Controls who can get stuff from this server.
: #
: Order allow,deny
: Allow from all
: </Directory>
:
: #
: # UserDir: The name of the directory which is appended onto a user's
home
: # directory if a ~user request is received.
: #
: <IfModule mod_userdir.c>
: UserDir public_html
: </IfModule>
:
: 위에 부분 입니다.--return true