<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.6036" name=GENERATOR>
<STYLE>@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2>This is just for test,not for the
serious situation!</FONT></DIV>
<DIV><FONT color=#000080>And I just find the solution to my problem
yesterday.</FONT></DIV>
<DIV><FONT color=#000080>The reason is that the selinux on my CentOS prevent
httpd from visiting file.</FONT></DIV>
<DIV><FONT color=#000080>Issus will be fine after I change the
file's context label via <STRONG><EM>chcon</EM>.</STRONG>May be
this can be useful to you!</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2010-11-17 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>49163653</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Jussi Hirvi </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2010-11-17 16:26:39
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> CentOS mailing list
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [CentOS] easy httpd's
problem </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>On 16.11.2010 10.25, 49163653 wrote:</DIV>
<DIV>> <VirtualHost *:80></DIV>
<DIV>> ServerAdmin gitserver</DIV>
<DIV>> DocumentRoot /</DIV>
<DIV>> <Directory /></DIV>
<DIV>> Options Indexes FollowSymLinks includes</DIV>
<DIV>> order allow,deny</DIV>
<DIV>> AllowOverride None</DIV>
<DIV>> allow from all</DIV>
<DIV>> </Directory></DIV>
<DIV>> ServerName dummy-host.example.com</DIV>
<DIV>> ErrorLog logs/dummy-host.example.com-error_log</DIV>
<DIV>> CustomLog logs/dummy-host.example.com-access_log common</DIV>
<DIV>> </VirtualHost></DIV>
<DIV></DIV>
<DIV>You are publishing your entire machine through httpd. Is that really </DIV>
<DIV>what you want?</DIV>
<DIV></DIV>
<DIV>- Jussi</DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>Jussi Hirvi * Green Spot</DIV>
<DIV>Topeliuksenkatu 15 C * 00250 Helsinki * Finland</DIV>
<DIV>Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)</DIV>
<DIV>jussi.hirvi@greenspot.fi * http://www.greenspot.fi</DIV>
<DIV>_______________________________________________</DIV>
<DIV>CentOS mailing list</DIV>
<DIV>CentOS@centos.org</DIV>
<DIV>http://lists.centos.org/mailman/listinfo/centos</DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>