>> Read Reply from No. 0 article  
RE: RE: [추가정보]아파치 다시 make 했습니다...

등록 2002-06-08 14:33:00     조회 1
이름 openlinux    

		]#./configure
--enable-so (DSO로 컴파일==동적컴파일이라고 하져...)
--enable-module=rewrite
--enable-shared=rewrite
 ]#vi httpd.conf
LoadModule rewrite_module libexec/mod_rewrite.so
AddModule mod_rewrite.c
추가해주시고...
]#./bin/httpd -t
]#./bin/apachectl start
]#ps -ef |grep httpd
]#./bin/httpd -l
mod_so.c가 추가되었나 보세여..그럼....
http://openlinux.biz 입니다..
많이 방문해 주세여..그럼...
   
 : mod_rewrite 를 사용하지 않는것 같아서..
: 다시 추가를 해주려고
:
: ./configure --enable-module=rewrite  해서 make파일 만들고
: make 했습니다.
: 이상없이 된것 같은데...
:
: ./httpd -l 해도 rewrite 에대한 글은 없내요.
:
: 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_setenvif.c
:   mod_php4.c
: suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
:
: 혹시 그렇게 해준다음에 httpd.conf  에 추가로 적어줘야하는건가요?
: 고수님들 부탁드립니다.
:
:
:
:
:
:
:
: : 이미 아파치와 php 는 설치된 상황입니다.
: :
: : ./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_setenvif.c
: :   mod_php4.c
: : suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
: :
: : 그럼 mod_rewrite 는 쓰고있지 않다는 거죠?
: : 그런데 modulese 를 찾아보니
: :
: : /usr/local/src/apache_1.3.14/src/modules/standard/ 에 rewrite모듈이 있더군요
: :
: : Makefile       mod_auth.c          mod_dir.c        mod_log_config.c   mod_so.c
: : Makefile.OS2   mod_auth.o          mod_dir.o        mod_log_config.o   mod_speling.c
: : Makefile.tmpl  mod_auth_anon.c     mod_env.c        mod_log_referer.c  mod_status.c
: : libstandard.a  mod_auth_db.c       mod_env.o        mod_mime.c         mod_status.o
: : mod_access.c   mod_auth_db.module  mod_expires.c    mod_mime.o         mod_unique_id.c
: : mod_access.o   mod_auth_dbm.c      mod_headers.c    mod_mime_magic.c   mod_userdir.c
: : mod_actions.c  mod_autoindex.c     mod_imap.c       mod_negotiation.c  mod_userdir.o
: : mod_actions.o  mod_autoindex.o     mod_imap.o       mod_negotiation.o  mod_usertrack.c
: : mod_alias.c    mod_cern_meta.c     mod_include.c    <b>mod_rewrite.c</b>      mod_vhost_alias.c
: : mod_alias.o    mod_cgi.c           mod_include.o    <b>mod_rewrite.h</b>
: : mod_asis.c     mod_cgi.o           mod_info.c       mod_setenvif.c
: : mod_asis.o     mod_digest.c        mod_log_agent.c  mod_setenvif.o
: :
: :
: : 이걸 httpd.conf에 적어줬습니다.(잘모르지만 그냥 시도했봤어요. -_-;)
: :
: : 중간부분에
: : BindAddress *
: :
: : #
: : # Dynamic Shared Object (DSO) Support
: : #
: : # To be able to use the functionality of a module which was built as a DSO you
: : # have to place corresponding `LoadModule' lines at this location so the
: : # directives contained in it are actually available _before_ they are used.
: : # Please read the file README.DSO in the Apache 1.3 distribution for more
: : # details about the DSO mechanism and run `httpd -l' for the list of already
: : # built-in (statically linked and thus always available) modules in your httpd
: : # binary.
: : #
: : # Note: The order in which modules are loaded is important.  Don't change
: : # the order below without expert advice.
: : #
: : # Example:
: : # LoadModule foo_module libexec/mod_foo.so
: :
: :
: : AddModule mod_php4.c
: : <b>AddModule mod_rewrite.c</b>
: : #
: : # ExtendedStatus controls whether Apache will generate "full" status
: : # information (ExtendedStatus On) or just basic information (ExtendedStatus
: : # Off) when the "server-status" handler is called. The default is Off.
: : #
: : #ExtendedStatus On
: :
: : 그리고 apachectl configtest 했더니
: : Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
: : Cannot add module via name 'mod_rewrite.c': not in list of loaded modules
: : 이런식으로 나오더라구요.
: :
: : 어떻게 사용을 해야하는건지 좀 알려주시기 바랍니다.
: : 다른곳에서 찾아는 봤지만...
: : 설치나 적용에 대한 것 안나왔더라구요 (제가 잘못찾은것인지..-_-)
: : 그냥 rewrite 는 이렇게 사용하는거다.. 라는것만 나와서..
: : 고수님들 부탁드립니다.
: :
: : --
: : 리눅스를 배울길 잘했네 어허야~ 디야~~
:
: --
: 리눅스를 배울길 잘했네 어허야~ 디야~~--                  날씨가 너무 좋아.....놀러가
: 고 싶다..
이름
암호


>> 관련글
  답장 RE: [추가정보]아파치 다시 make 했습니다...  선우태랑  2002.06.08  ....
  답장 RE: RE: [추가정보]아파치 다시 make 했습니다...  openlinux  2002.06.08  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.75 초 ] 작업시간: [ 0.04 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791419020
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.