在IE9中忽略了基本href

时间:2012-05-25 16:47:18

标签: html .htaccess internet-explorer-9

我使用重写方法:

RewriteEngine on
RewriteRule ^page/([^/\.]+)$ search.php?q=$1

为了防止影响css和图像的网址,我在页面标题处使用了<base href="http://localhost/project/" />

在FF和Chrome中一切正常,但在IE9中它仍然向所有页面网址添加“页面”(重写的网址),并使其成为:http://localhost/project/page

什么是问题?

0 个答案:

没有答案