【发布时间】:2014-08-21 06:35:28
【问题描述】:
我正在尝试从我的 codeigniter URL 中删除 index.php。我有带有codeigniter和ion auth的apache24。我可以让它工作的唯一方法是允许AllowOverride All。
相关代码为:
<Directory "c:/Apache24/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
使用 AllowOverride None 这将返回 404 错误代码。使用AllowOverride All 就可以了。
这对生产服务器有什么安全隐患?
【问题讨论】:
标签: apache .htaccess codeigniter httpd.conf