Alias /download /opt/download
2. add directory in httpd.conf
AllowOverride All
AcceptPathInfo On
Options Indexes SymLinksIfOwnerMatch FollowSymLinks
http://server/download may return 403 cause selinux
3. set selinux setting
# chcon -tR httpd_sys_content_t /opt/download
Reference:
http://www.mikehomme.com/node/16
沒有留言:
張貼留言