: NameVirtualHost 210.102.229.20
: #
: # VirtualHost example:
: # Almost any Apache directive may go into a VirtualHost container.
: # The first VirtualHost section is used for requests without a known
: # server name.
: #
: <VirtualHost 210.102.229.20>
: ServerAdmin maindev at kolinux.com : DocumentRoot /home/maindev/public_html
: ServerName maindev.kolinux.com
: ServerPath /home/maindev/public_hml
: ErrorLog /home/maindev/logs/maindev.kolinux.com-error_log
: # CustomLog logs/dummy-host.example.com-access_log common
: </VirtualHost>
:
: <VirtualHost 210.102.229.20>
: ServerAdmin root at kolinux.com : DocumentRoot /home/subdev/public_html
: ServerName subdev.kolinux.com
: ServerPath /home/sunbdev/public_html
: ErrorLog /home/subdev/logs/subdev.kolinux.com-error_log
: # CustomLog logs/dummy-host.example.com-access_log common
: </VirtualHost>
: 아파치데몬 띄우고 나서 웹상에서 확인하면 이런에러가 나오는데
: Forbidden
: You don't have permission to access /info.php on this server.
: Apache/1.3.23 Server at maindev.kolinux.com Port 80
웹상에서 뛰우면 디렉토리가 보이는 군요.
index.html 이 없었서 그렇습니다.
http://210.102.229.20/info.php 정상 적으로 보입니다.
: 왜 그럴까요..
: 참고로 dns에는 이상이 없습니다.
: nslookup 으로 확인했습니다.
: 해결 방안좀 알려주세요..
: 이거 해결못하면 짤려여...t.t
dns 이상이 없다고 하는 데 이상 있습니다.
dig 로 확인 해본결과 이상 있습니다.
# named-checkzone /var/named/zone-xjoin.net(zon 파일명)
OK
#
정상
# vi /etc/log/messages
messages 에서도 볼수 있음....... named 부분 체크
You don't have permission to access /info.php on this server
이 부분이 나온다는 것은 퍼미션 문제 인데.
현재 테스트 해본결과 이런 메세지 없습니다.--열심히 삽질하자 허접삽질 엽기 삽질
삶이 속일지라도 세상이 속일 지라도 난 포기 하지 않는다.
http://xjoin.net:8880