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 ***
沒有留言:
發佈留言