标签: html .htaccess internet-explorer-9
我使用重写方法:
RewriteEngine on RewriteRule ^page/([^/\.]+)$ search.php?q=$1
为了防止影响css和图像的网址,我在页面标题处使用了<base href="http://localhost/project/" />。
<base href="http://localhost/project/" />
在FF和Chrome中一切正常,但在IE9中它仍然向所有页面网址添加“页面”(重写的网址),并使其成为:http://localhost/project/page
http://localhost/project/page
什么是问题?