HOME > 이용안내
이용안내
 
작성일 : 20-12-19 23:25
[리눅스서버] Apache서버에 mod_url 추가 설치
 글쓴이 : 제이네트워크
조회 : 24,628  

[Apache서버에  mod_url 추가 설치]

mod_url 은 아파치에서 한글URL 인식을 위한 모듈이다.


1. mod_url 모듈설치


# bunzip2 mod_url-apache2-1.21.tar.bz2

# tar xvf mod_url-apache2-1.21.tar

# cd mod_url-apache2

# /usr/local/apache/bin/apxs -cia mod_url.c

/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic   -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache/include  -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1   -c -o mod_url.lo mod_url.c && touch mod_url.slo

/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99    -o mod_url.la  -rpath /usr/local/apache/modules -module -avoid-version    mod_url.lo

/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' mod_url.la /usr/local/apache/modules

/usr/local/apr/build-1/libtool --mode=install install mod_url.la /usr/local/apache/modules/

libtool: install: install .libs/mod_url.so /usr/local/apache/modules/mod_url.so

libtool: install: install .libs/mod_url.lai /usr/local/apache/modules/mod_url.la

libtool: install: install .libs/mod_url.a /usr/local/apache/modules/mod_url.a

libtool: install: chmod 644 /usr/local/apache/modules/mod_url.a

libtool: install: ranlib /usr/local/apache/modules/mod_url.a

libtool: finish: PATH="/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:HOME/bin:/usr/local/mysql/bin:/sbin" ldconfig -n /usr/local/apache/modules

======================================================================

Libraries have been installed in:

   /usr/local/apache/modules



If you ever happen to want to link against installed libraries

in a given directory, LIBDIR, you must either use libtool, and

specify the full pathname of the library, or use the `-LLIBDIR'

flag during linking and do at least one of the following:

   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable

     during execution

   - add LIBDIR to the `LD_RUN_PATH' environment variable

     during linking

   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag

   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for

more information, such as the ld(1) and ld.so(8) manual pages.

===========================================================================

chmod 755 /usr/local/apache/modules/mod_url.so

[activating module `redurl' in /usr/local/apache/conf/httpd.conf]



2. mod_url 모듈 설정

httpd.conf에 아래의 내용을 추가 합니다.


# vi /usr/local/apache/conf/httpd.conf

LoadModule redurl_module      modules/mod_url.so

<IfModule mod_url.c>

CheckURL On

ServerEncoding EUC-KR

ClientEncoding UTF-8

</IfModule>



3. 서비스 재시작

# /usr/local/apache/bin/apachectl restart






Cloud server Streaming service Domain Cloud Firewall

 
 

Total 377

번호 제   목   글쓴이 날짜 조회
57 [리눅스서버] [CentOS 7] Python 3을 Cent7에서 yum으로 인스톨 하는 방법 제이네트워크 2018-11-02 35830
56 [리눅스서버] NFS 연결오류시 mount.nfs: Input/output error 제이네트워크 2018-11-16 37251
55 [DB] MSSQL2008 로그 줄이기 제이네트워크 2018-11-29 23101
54 [기타] 크롬브라우저에서 플래시 항상허용후 설정값 저장하는 방법 제이네트워크 2018-12-01 27269
53 [리눅스서버] CentOS7 SSH 접속포트 변경과 방화벽 오픈 제이네트워크 2018-12-10 31538
52 [윈도우서버] 윈도우서버 IIS7.5 다운로드 업로드 용량 늘리기 제이네트워크 2018-12-13 27303
51 [윈도우서버] Windows 10 자동 업데이트 완전 끄기 제이네트워크 2019-01-11 26441
50 [윈도우서버] iis 버전 버젼 version 확인 방법 제이네트워크 2019-01-14 29443
49 [리눅스서버] CentOs7 부팅시 rc.local 파일 실행되도록 설정 (1) 제이네트워크 2019-01-16 31941
48 [기타] [CloudFlare]클라우드플레어 사용시 클라이언트 실제 IP ADDRESS 찾기 제이네트워크 2019-01-19 30392
47 [리눅스서버] mysqli.so php추가 모듈 설치 제이네트워크 2019-01-21 33854
46 [DB] mysql-5.7.x 이상 버전에서 비번 변경 후 에러가 나올 때 제이네트워크 2019-01-22 24568
45 [DB] MSSQL 1씩 자동증가값 제어(ID 사양 변경 안될 경우) 제이네트워크 2019-01-30 24480
44 [DB] MSSQL SERVER 테이블변경시 제한시간이 만료되었습니다. 라는 에러발생시 제이네트워크 2019-01-30 24583
43 [리눅스서버] Wildcard SSL 인증서 설치시에러 [warn] _default_ VirtualHost overlap on port 443, 제이네트워크 2019-03-30 31976
42 [윈도우서버] ERR_TOO_MANY_REDIRECTS 해결방법 제이네트워크 2019-03-30 33786
41 [윈도우서버] 윈도우서버 com+ dll 등록방법] 제이네트워크 2019-04-11 30258
40 [윈도우서버] 윈도우서버 com+ / dll 등록후 세션 로그아웃시 dll 적용안될 때 제이네트워크 2019-04-11 29724
39 [PHP] 그누보드5 서버이전 후 글 작성 및 member가입 작성안되는 경우 제이네트워크 2019-04-24 23692
38 [윈도우서버] 윈도우 설치 중 새 시스템 파티션을 만들거나 기존 시스템 파티션을 찾을 … 제이네트워크 2019-04-24 29353
37 [리눅스서버] CentOS7.x 버전에서 최신 node.js 설치하기 제이네트워크 2019-05-23 32848
36 [리눅스서버] SFTP 접속만 가능한 계정 만들기] 제이네트워크 2019-06-30 34719
35 [리눅스서버] SFTP 퍼미션 조정 및 chroot 설정으로 상위폴더 접근 제한하기 제이네트워크 2019-06-30 31683
34 [리눅스서버] 리눅스 메인보드 교체후 네트워크 재설정 제이네트워크 2019-07-04 31780
33 [리눅스서버] vsftpd.conf 설정내용 제이네트워크 2019-08-14 30146
32 [DB] [mysql]MySQL 5.6 SQL STRICT 모드 변경 방법 제이네트워크 2019-08-14 27146
31 [PHP] php에서 세션을 늘리는 방법 제이네트워크 2019-08-22 21829
30 [DB] MSSQL2016 에서 서버유지관리/ 백업스케쥴 실행시 에러가 날때 제이네트워크 2019-08-22 23421
29 [리눅스서버] 리눅스 컴파일에러 error : Autoconf version 2.68 or higher is required on CentOS 제이네트워크 2019-10-07 33187
28 [리눅스서버] [아파치conf 비교]apache2.2.x 와 apache-2.4.x 의 차이점 제이네트워크 2019-10-13 31045
27 [리눅스서버] 우분투18.04 에서 rc.local 파일 사용하기 제이네트워크 2019-11-17 28414
26 [리눅스서버] 우분투18.04 vi 에디터에서 글자가 깨져 보일 때 제이네트워크 2019-11-17 28087
25 [리눅스서버] mkfs로 포맷이 안되는 경우 (오류 dev/sdb2 is apparently in use by the system; will not mak… 제이네트워크 2020-04-02 28010
24 [기타] 그누보드4(EUCKR)에서 그누보드5(UTF8)로 데이타이전 하기 제이네트워크 2020-06-28 25118
23 [메일] [sendmail] 메일발송이 안될 때 (오류 Relaying temporarily denied. Cannot resolve PTR recor… 제이네트워크 2020-07-15 23764
22 [리눅스서버] Cronlog 설정 하는 법 제이네트워크 2020-12-19 24930
21 [리눅스서버] Apache서버에 mod_url 추가 설치 제이네트워크 2020-12-19 24629
20 [리눅스서버] 아파치서버에서 동시접속자 수를 알아보려고 할 때 제이네트워크 2020-12-19 24821
19 [DB] mysql 로그 최적화 하기 제이네트워크 2020-12-20 18562
18 [DB] [mysql 디비체크] myisamchk 사용 옵션 제이네트워크 2020-12-20 18505
 1  2  3  4  5  6  7  8  9  10