안녕하세요...
서버를 이전했는데 도메인에 문제가 있습니다.
그전에는 버추얼호스트 도메인에서 www 를 빼도 해당 도메인으로 들어
갔는데 이제는 서버를 이전하니까 되지 않습니다.
그리고 cgi도 읽어들이지 못합니다.
아래 httpd.conf파일 첨부합니다.
도메인 설정부분
<VirtualHost ip>
ServerAdmin webmaster@도메인.co.kr
DocumentRoot 디렉토리
ServerName www.도메인.co.kr ErrorLog logs/도메인.co.kr-error_log
</VirtualHost>
<VirtualHost ip>
ServerAdmin webmaster@도메인.co.kr
DocumentRoot /디렉토리
ServerName 도메인.co.kr
ErrorLog logs/도메인.co.kr-error_log
</VirtualHost>
cgi설정부분
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
#
# "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/home/httpd/*/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>