ชื่อผู้เขียน: สินชัย ไทยเจริญ (202.143.145.---)
วันที่: 01-18-04 18:38
ผมเคยถามเรื่องย้ายชี้ link ไป Home มาครั้งหนึ่ง ตอนนี้ติดตั้ง Fedora core 3
เปลี่ยนชื่อ /var/www/html ไป แล้ว ทำ link ดังนี้
ln -s /home/www/html /var/www/html ก็ทำได้ไม่มีปัญหา แต่พอ star httpd.conf ใหม่ กลับมี report มาว่า
Syntax error on line 226 of /etc/httpd/conf/httpd.conf
:DocumentRoot must be a directory [FAILED]
line 226 คือ
DocumentRoot "/var/www/html"
ทำให้เรียกใช้ index.html ใน /home/www/html ไม่ได้
ช่วยแนะนำอีกครั้งครับ ขอบคุณ
|
|