【发布时间】:2013-10-25 20:23:25
【问题描述】:
<IfModule mod_rewrite.c>
# Checks to see if the user is attempting to access a valid file,
# such as an image or css document, if this isn't true it sends the
# request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ main.php/$1 [L]
</IfModule>
这是我的 .htaccess ,但我没有得到正确的链接
每当我点击没有 index.php 的链接时,它都会重定向到 wamp 服务器主页
【问题讨论】:
-
你必须解释你的问题比这更好。怎么了?发生了什么出乎您的意料?
标签: .htaccess codeigniter url