开发者

htaccess image, css problem

I have a question. When i use this htacces开发者_运维百科s script and put this in the directorty "test"

The dir structory

base: test

images: test/images css:

test/css

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?page=$1 [L]
RewriteRule ^(.*)(.*) index.php?page=$1&sub=$2 [L]

When I use this url "http://xxxxxxx/test/producten/" everything works fine, but when I use this url "http://xxxxxxx/test/producten/subpage" He doesn't find the images


Should this section have a forward slash?

RewriteRule ^(.*)/(.*) index.php?page=$1&sub=$2 [L]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜