總網頁檢視次數

星期三, 8月 15, 2007

Setup Apache

1. Configure error page
- look for /etc/httpd/conf/httpd.conf
- search for ErrorDocument
- uncomment/add the line for 404 and 403
- type in http://xxx.xxx.com for redirection

2. Disable directory browsing
- look for /etc/httpd/conf/httpd.conf
- search for FollowSymLinks
- remove index from that line and make it like " Options FollowSymLinks"

*** service httpd restart , each time after you make changes to httpd.conf file so as to make it effective immediately ***