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

[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

번호 제   목   글쓴이 날짜 조회
377 [DB] Linux에서 MYSQL 데이터 디렉토리 변경하기 제이네트워크 2023-01-14 7719
376 [DB] phpmyadmin에서 'mcrypt 확장모듈을 불러올 수 없습니다' 에러 시 제이네트워크 2023-01-14 7749
375 [DB] mysql에서 innodb 설치 및 옵션 설명 제이네트워크 2023-01-14 7922
374 [DB] [MySQL] mysql error 1364 Field doesn't have a default values 해결방법 입니다. 제이네트워크 2023-01-14 9108
373 [PHP] php_ftp 추가 모듈 설치 하기 제이네트워크 2021-05-27 14627
372 [PHP] php에서 shmop 모듈 추가 설치하기 제이네트워크 2021-05-27 16206
371 [리눅스서버] 우분투서버 apt 에러 - 미러사이트 변경 제이네트워크 2021-12-29 17805
370 [리눅스서버] 아파치 웹서버에서 mod_rewrite 모듈 추가 설치하기 제이네트워크 2021-11-03 18413
369 [DB] [mysql 디비체크] myisamchk 사용 옵션 제이네트워크 2020-12-20 18483
368 [DB] mysql 로그 최적화 하기 제이네트워크 2020-12-20 18536
367 [리눅스서버] Centos7 SFTP 설정 및 Chroot 처리 방법 제이네트워크 2021-08-18 19306
366 [기타] ESXi 호스트의 root 로 접근이 불가능한 이슈 제이네트워크 2021-04-08 19396
365 [메일] 리눅스 쉘에서 telnet으로 메일발송테스트 하기 제이네트워크 2021-05-27 19477
364 [리눅스서버] Centos7 에서 SQLSRV / PDO_SQLSRV 모듈 추가 설치 제이네트워크 2021-08-26 19727
363 [리눅스서버] 리눅스서버에서 아파치웹 서버 / php 버전 노출방지 제이네트워크 2021-07-19 20627
362 [메일] [Sendmail 스팸 IP ADDRESS 체크] 제이네트워크 2020-12-20 21409
361 [메일] [Sendmail 포트변경] Sendmail에서 smtp 포트를 587포트로 변경하기 제이네트워크 2020-12-20 21717
360 [PHP] php에서 세션을 늘리는 방법 제이네트워크 2019-08-22 21809
359 [메일] Centos7 sendmail설치 제이네트워크 2021-09-09 21992
358 [DB] [mysql] mysql 덤프파일 복구시 에러시 - Got a packet bigger than 'max_allowed_packet&… 제이네트워크 2017-09-14 22811
357 [DB] mtysql 5.7 이상버전에서 root 패스워드 변경시 제이네트워크 2017-11-25 23067
356 [DB] MSSQL2008 로그 줄이기 제이네트워크 2018-11-29 23084
355 [PHP] php 에러시 Warning: date(): It is not safe to rely on the system's timezone settings 제이네트워크 2016-02-03 23387
354 [DB] MSSQL2016 에서 서버유지관리/ 백업스케쥴 실행시 에러가 날때 제이네트워크 2019-08-22 23393
353 [PHP] 그누보드5 서버이전 후 글 작성 및 member가입 작성안되는 경우 제이네트워크 2019-04-24 23673
352 [메일] [sendmail] 메일발송이 안될 때 (오류 Relaying temporarily denied. Cannot resolve PTR recor… 제이네트워크 2020-07-15 23730
351 [PHP] 사이트별 allow_url_fopen허용해 주기 제이네트워크 2017-09-12 23983
350 [DB] MSSQL 1씩 자동증가값 제어(ID 사양 변경 안될 경우) 제이네트워크 2019-01-30 24452
349 [DB] mysql-5.7.x 이상 버전에서 비번 변경 후 에러가 나올 때 제이네트워크 2019-01-22 24547
348 [DB] MSSQL SERVER 테이블변경시 제한시간이 만료되었습니다. 라는 에러발생시 제이네트워크 2019-01-30 24556
347 [PHP] php-5.5.x 아래 버전에서 Zend Opcache 설치 제이네트워크 2017-04-27 24574
346 [리눅스서버] Apache서버에 mod_url 추가 설치 제이네트워크 2020-12-19 24580
345 [리눅스서버] 아파치서버에서 동시접속자 수를 알아보려고 할 때 제이네트워크 2020-12-19 24767
344 [리눅스서버] Cronlog 설정 하는 법 제이네트워크 2020-12-19 24881
343 [기타] 그누보드4(EUCKR)에서 그누보드5(UTF8)로 데이타이전 하기 제이네트워크 2020-06-28 25086
342 [PHP] php7에서 opcache 사용하기 제이네트워크 2017-04-27 25156
341 [DB] [Mysql] mysql 기본 스토리지 엔진확인 제이네트워크 2016-12-10 25519
340 [DB] [Mysql] show processlist 계속 보기 제이네트워크 2016-12-10 25520
339 [윈도우미디어] 익명 사용자 인증 플러그 인 오류 때문에 Windows Media 서비스 시작할 수 없습… 제이네트워크 2017-11-25 25613
338 [DB] [MS-SQL 쿼리] 해당 컬럼을 NULL 값으로 변경하고자 할때 제이네트워크 2016-08-23 26162
 1  2  3  4  5  6  7  8  9  10