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

[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 [DB] [mysql]mysqldump 로 백업시 lock table 에러로 백업이 안되는 경우 제이네트워크 2015-09-17 28332
56 [메일] 센드메일-아웃룩에러 중 다른메일메세지가 배달중이거나... 제이네트워크 2015-11-03 28105
55 [리눅스서버] 우분투18.04 vi 에디터에서 글자가 깨져 보일 때 제이네트워크 2019-11-17 28026
54 [리눅스서버] 리눅스 에서 Apche / php / mysql 컴파일 옵션 확인하기 제이네트워크 2015-12-09 28012
53 [리눅스서버] mkfs로 포맷이 안되는 경우 (오류 dev/sdb2 is apparently in use by the system; will not mak… 제이네트워크 2020-04-02 27939
52 [DB] phpMyAdmin 4.x 버전에서 필요없는 에러메세지 없애는 방법 제이네트워크 2016-02-01 27391
51 [기타] [리눅스에러] /bin/sh^M: bad interpreter: No such file or directory 제이네트워크 2017-06-26 27358
50 [윈도우서버] 윈도우서버 IIS7.5 다운로드 업로드 용량 늘리기 제이네트워크 2018-12-13 27259
49 [기타] 크롬브라우저에서 플래시 항상허용후 설정값 저장하는 방법 제이네트워크 2018-12-01 27230
48 [DB] [mysql]MySQL 5.6 SQL STRICT 모드 변경 방법 제이네트워크 2019-08-14 27095
47 [DB] [mysql] Mysql 에러코드 중에 (Got error 134 from storage engine) 나올때 처리법 제이네트워크 2015-06-04 26941
46 [DB] mysql 데이타베이스에서 max_connection 늘려주기 관리자 2011-05-17 26824
45 [기타] tar 특정폴더에 압축을 풀어야 할 경우 사용 옵션 제이네트워크 2016-05-10 26818
44 [DB] [Mysql] mysql 엔진 Myisam 을 Innodb로 변경하는 방법 제이네트워크 2016-12-11 26479
43 [윈도우서버] Windows 10 자동 업데이트 완전 끄기 제이네트워크 2019-01-11 26395
42 [메일] 아웃룩 메일 수발신할 때 (메일오류코드 2) 제이네트워크 2021-05-28 26391
41 [기타] 리눅스 named(bind) 설정 점검 사이트 제이네트워크 2017-06-11 26223
40 [DB] [MS-SQL 쿼리] 해당 컬럼을 NULL 값으로 변경하고자 할때 제이네트워크 2016-08-23 26148
39 [윈도우미디어] 익명 사용자 인증 플러그 인 오류 때문에 Windows Media 서비스 시작할 수 없습… 제이네트워크 2017-11-25 25604
38 [DB] [Mysql] show processlist 계속 보기 제이네트워크 2016-12-10 25503
37 [DB] [Mysql] mysql 기본 스토리지 엔진확인 제이네트워크 2016-12-10 25503
36 [PHP] php7에서 opcache 사용하기 제이네트워크 2017-04-27 25145
35 [기타] 그누보드4(EUCKR)에서 그누보드5(UTF8)로 데이타이전 하기 제이네트워크 2020-06-28 25065
34 [리눅스서버] Cronlog 설정 하는 법 제이네트워크 2020-12-19 24865
33 [리눅스서버] 아파치서버에서 동시접속자 수를 알아보려고 할 때 제이네트워크 2020-12-19 24753
32 [리눅스서버] Apache서버에 mod_url 추가 설치 제이네트워크 2020-12-19 24562
31 [PHP] php-5.5.x 아래 버전에서 Zend Opcache 설치 제이네트워크 2017-04-27 24561
30 [DB] MSSQL SERVER 테이블변경시 제한시간이 만료되었습니다. 라는 에러발생시 제이네트워크 2019-01-30 24537
29 [DB] mysql-5.7.x 이상 버전에서 비번 변경 후 에러가 나올 때 제이네트워크 2019-01-22 24533
28 [DB] MSSQL 1씩 자동증가값 제어(ID 사양 변경 안될 경우) 제이네트워크 2019-01-30 24432
27 [PHP] 사이트별 allow_url_fopen허용해 주기 제이네트워크 2017-09-12 23976
26 [메일] [sendmail] 메일발송이 안될 때 (오류 Relaying temporarily denied. Cannot resolve PTR recor… 제이네트워크 2020-07-15 23710
25 [PHP] 그누보드5 서버이전 후 글 작성 및 member가입 작성안되는 경우 제이네트워크 2019-04-24 23655
24 [PHP] php 에러시 Warning: date(): It is not safe to rely on the system's timezone settings 제이네트워크 2016-02-03 23378
23 [DB] MSSQL2016 에서 서버유지관리/ 백업스케쥴 실행시 에러가 날때 제이네트워크 2019-08-22 23377
22 [DB] MSSQL2008 로그 줄이기 제이네트워크 2018-11-29 23071
21 [DB] mtysql 5.7 이상버전에서 root 패스워드 변경시 제이네트워크 2017-11-25 23052
20 [DB] [mysql] mysql 덤프파일 복구시 에러시 - Got a packet bigger than 'max_allowed_packet&… 제이네트워크 2017-09-14 22797
19 [메일] Centos7 sendmail설치 제이네트워크 2021-09-09 21969
18 [PHP] php에서 세션을 늘리는 방법 제이네트워크 2019-08-22 21789
 1  2  3  4  5  6  7  8  9  10