묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
홈페이지 접속하는데 다운받아라고 나오는데요...ㅡ.ㅡ
2003.10.17 23:15
만진거라곤 httpd.conf 파일하고 named.conf, nyang.zone 이것들 밖에 없거든요.
참고차 올려 보겠습니다.
------ httpd.conf 의 수정한 부분입니다.. -------
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php-source .php .html .htm
AddType application/x-tar .tgz
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi
------named.conf--------
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "nyang.pe.kr" IN {
type master;
file "nyang.zone";
allow-update { none; };
};
zone "71.66.220.in-addr.arpa" {
type master;
file "nyang.rev";
allow-update { none; };
};
include "/etc/rndc.key";
---------nyang.zone--------
$TTL 86400
@ IN SOA ns.nyang.pe.kr. root.nyang.pe.kr. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns.nyang.pe.kr.
IN A 220.66.71.64
IN MX 10 nyang.pe.kr.
ns IN A 220.66.71.64
www IN A 220.66.71.64
mail IN MX 220.66.71.64
roen IN A 220.66.71.64
* IN A 220.66.71.64
이하 변경해본 파일들 내용입니다. 제발 도와 주세요.
접속해보실대는 http://220.66.71.64 입니다...ㅡ.ㅡ
접속만 하면 다운해라고 나오는데 당췌 어케 해야 할지.. 쩝
참고차 올려 보겠습니다.
------ httpd.conf 의 수정한 부분입니다.. -------
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php-source .php .html .htm
AddType application/x-tar .tgz
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi
------named.conf--------
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "nyang.pe.kr" IN {
type master;
file "nyang.zone";
allow-update { none; };
};
zone "71.66.220.in-addr.arpa" {
type master;
file "nyang.rev";
allow-update { none; };
};
include "/etc/rndc.key";
---------nyang.zone--------
$TTL 86400
@ IN SOA ns.nyang.pe.kr. root.nyang.pe.kr. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns.nyang.pe.kr.
IN A 220.66.71.64
IN MX 10 nyang.pe.kr.
ns IN A 220.66.71.64
www IN A 220.66.71.64
mail IN MX 220.66.71.64
roen IN A 220.66.71.64
* IN A 220.66.71.64
이하 변경해본 파일들 내용입니다. 제발 도와 주세요.
접속해보실대는 http://220.66.71.64 입니다...ㅡ.ㅡ
접속만 하면 다운해라고 나오는데 당췌 어케 해야 할지.. 쩝
댓글 2
-
하얀피
2003.10.19 17:19
디렉토리 설정 (htdocs)이나 버츄얼 설정 부분을 올려주세요. -
진짜루초보
2003.10.19 22:09
# Use name-based virtual hosting.
#
NameVirtualHost 220.66.71.64
#
# 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 220.66.71.64>
ServerAdmin webmaster@nyang.pe.kr
DocumentRoot /var/www/html
ServerName www.nyang.pe.kr
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
버츄얼 설정 부분입니다...