::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

[CentOS] [ERROR] apache Warning: DocumentRoot [/home/www/****] does not exist

°Ô½ÃÆÇ
Unix/Linux
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2012-12-10 12:42:18
ÀÐÀº¼ö
2162
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://sangchul.kr/4547906 
Apache ±¸µ¿ ½Ã error
[root@scbyun-ns1 named]# service httpd restart
httpd ¸¦ Á¤Áö Áß:                                          [  OK  ]
httpd (À»)¸¦ ½ÃÀÛ Áß: Warning: DocumentRoot [/home/www/docs/www.scbyun.com] does not exist
                                                           [  OK  ]
messages ·Î±× error
[root@scbyun-ns1 named]# Oct  9 14:02:19 scbyun-ns1 setroubleshoot: SELinux is preventing the httpd from using potentially mislabeled files (./docs). For complete SELinux messages. run sealert -l f5fd0e77-7b77-4ffe-ac24-b6788f775d44

¿øÀÎ : SELinux

ÇØ°á ¹æ¹ý

# chcon -R -t httpd_user_content_t /home/www

chcon ¸í·É¾î /home/www ¿¡ Á¢±Ù °¡´ÉÇϵµ·Ï ¼³Á¤ÇÑ´Ù.

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
4071 helix 3597 2013-01-15 15:21:37
4065 helix 2673 2013-01-05 22:37:11
4059 helix 2518 2012-12-24 15:38:00
4022 helix 6153 2012-12-11 00:41:25
4020 helix 8100 2012-12-10 23:45:03
helix 2162 2012-12-10 12:42:18
3979 helix 3692 2012-12-05 13:21:26
3897 helix 2190 2012-11-16 11:13:07
3896 helix 3145 2012-11-16 10:42:09
3706 helix 6469 2012-10-30 14:30:04
3559 helix 2202 2012-09-21 18:00:52
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.000 Secs