·现象:
apache设置了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

Trackback

no comment untill now

Add your comment now