리눅스

본문 바로가기
사이트 내 전체검색


리눅스
리눅스

16. Apache Virtual Hosting With Different Users

페이지 정보

작성자 관리자 댓글 0건 조회 1,965회 작성일 21-07-06 10:03

본문

16. Apache Virtual Hosting With Different Users

1. install httpd-itk.x86_64


# yum install httpd-itk.x86_64 -y 


2. enable this module


# vi /etc/httpd/conf.modules.d/00-mpm-itk.conf


# ITK MPM (Multi-Processing Module). Mpm-itk allows you to run each of your

# vhost under a separate uid and gid - in short, the scripts and configuration

# files for one vhost no longer have to be readable for all the other vhosts.

LoadModule mpm_itk_module modules/mod_mpm_itk.so



3. edit /etc/conf/httpd/httpd.conf 

<VirtualHost *>


<IfModule mpm_itk_module>

AssignUserId apache www

</IfModule>


</VirtualHost>


4. restart apache


댓글목록

등록된 댓글이 없습니다.


개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.