现象:
apache(Unix平台最流行的WEB服务器平台)设置了rewrite模块还是报错
解决方案:
按照知识库里的设置了rewrite后访问还是有问题
error.log
日志显示
/www/users/china2008trade.com/.htaccess(小型网站之最爱): IndexIgnore not allowed here
/www/users/china2008trade.com/.htaccess(小型网站之最爱): order not allowed here
/www/users/china2008trade.com/.htaccess(小型网站之最爱): AuthName not allowed here
说明还是有其他的容许没加上
需要在/etc/httpd/conf.d/virtual.conf
在站点的 AllowOverride Options FileInfo 添加上Indexes Limit AuthConfig
IndexIgnore 对应的是 Indexes
order 对应的是 Limit
AuthName 对应的是 AuthConfig