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]
精彩评论