[APACHE] 웹서버설정,httpd.conf
vi /etc/httpd/conf/httpd.conf
ServerSignature On
ServerTokens ProductOnly
ServerSignature On
ServerTokens ProductOnly
#ServerName www.example.com:80(샵처리)
ServerName 127.0.0.1:80
ServerName 127.0.0.1:80
# First, we configure the "default" to be a very restrictive set of
# features.
Options Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# Options FollowSymLinks(샵처리)
# AllowOverride None(샵처리)
#ServerSignature On(샵처리)
ServerSignature Off
# features.
Options Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# Options FollowSymLinks(샵처리)
# AllowOverride None(샵처리)
#ServerSignature On(샵처리)
ServerSignature Off
AddDefaultCharset EUC-KR
Options Indexes FollowSymLinks Includes ExecCGI
AddHandler cgi-script .cgi
디렉토리설정
vi /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
vi /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
댓글