리눅스 CentOS 7 Apache 루트 디렉토리 변경하기


리눅스 CentOS 7 Apache 루트 디렉토리 변경하기

1. 루트 디렉토리 변경하기 # vi /etc/httpd/conf/httpd.conf DocumentRoot "/var/www/html" /*원하는 경로로 바꿔준다*/ ex) DocumentRoot "home/www" 2. selinux 정책을 변경 # chcon -R -t httpd_user_content_t /home/www 또는 # chcon -R -t httpd_sys_content_t /home/www [출처] http://doctorpia.blog.me/144813420...

리눅스 CentOS 7 Apache 루트 디렉토리 변경하기에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.



원문링크 : 리눅스 CentOS 7 Apache 루트 디렉토리 변경하기