리눅스(Centos) 에서 httpd.conf 세팅
마스터욱
0
27
0
0
2020-08-31 12:00:11
# vi /etc/httpd/conf/httpd.conf
==================================================
# php 연동세팅
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php3 .php4 .php5 .html .htm .inc
DirectoryIndex index.html index.htm index.php
# 기본파일 로드 세팅
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
# 홈디렉토리
DocumentRoot "/var/www/html"
======================================================
아파치 재부팅
# service httpd restart