Apache

来自Shiyin's note
Shen讨论 | 贡献2013年12月18日 (三) 13:07的版本 (Shen移动Apache 配置页面至Apache
跳到导航 跳到搜索

FC18的http服务

允许.htaccess和.htpasswd密码保护
AllowOverride Authconfig

允许符号链接
Options FollowSymLinks
  • 但是符号链接对应的目录应该有明确的<Directory>定义,另外还有注意Selinux的设置。
运行列出目录中的所有内容
Options Indexes
允许Userdir下到public_html模式
<IfModule mod_userdir.c>

UserDir enabled :这个很重要

       UserDir public_html
</IfModule>