Apache2-Personal Homepages
การเปิดใช้โฮมเพ็จส่วนบุคคล
1. หลังจากที่ได้ติดตั้ง Apache2 เว็บเซอร์เวอร์ไปแล้ว
YaST->Network Services->HTTP Service->Modules->Edit->Userdir->Toggle Status on
YaST->System->/etc/sysconfig Editor->Network->WWW->Apache2->APACHE_CONF_INCLUDE_FILES-> set to /etc/apache2/mod_userdir.conf
2. รีสตาร์เว็บเซอร์เวอร์
# rcapache2 restart
3. สร้างเว็บเพ็จ
# cd /home/your_username/public_html/
# vim index.html หรือ index.php
4. เข้าดูเว็บเพ็จ
http://host_name/~your_username
แค่นี้ผู้ใช้คนต่างๆ ก็มีเนื้อที่เก็บเว็บเพ็จเป็นของตนเองแล้วครับ

SUSE Linux Enterprise Cool Solutions
|







