CSS <link /> mod_rewrite

时间:2014-12-18 20:21:52

标签: mod-rewrite

我的mod_rewrite不起作用,无法解决问题。我有什么想法吗?

我的mod_rewrite

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule    ^/([^/.]+)/?$    index.php?g=$1    [L]

我的CSS文件链接如下

<head>
    <link type="text/css" href="/includes/libs/minify/index.php?g=responsive.css&amp;319" rel="stylesheet" media="screen" />
</head>

我想用mod_rewrite改为

<head>
    <link type="text/css" href="responsive.css" rel="stylesheet" media="screen" />
</head>

0 个答案:

没有答案