cxer Posted February 28, 2007 Share Posted February 28, 2007 hi, i wrote some rules at below but my images are not viewing,i dont find why, if i use only one parameter this rules work RewriteEngine On RewriteRule ^prefabrik/images/(.*)$ images/$1 RewriteRule ^prefabrik/swf/(.*)$ swf/$1 RewriteRule ^prefabrik/pix/(.*)$ pix/$1 RewriteRule ^prefabrik/menu/(.*)$ menu/$1 RewriteRule ^prefabrik/pages/(.*)$ pages/$1 RewriteRule ^prefabrik/(.*).html index.php?id=$1 but if wantto use two parameter my images,css and swf files are not viewing RewriteEngine on RewriteBase / RewriteRule ^prefabrik/*/images/(.+)$ images/$1 [L] ----->problem is here, RewriteRule ^prefabrik/([^/.]+)/([^/.]+)/?$ index.php?id=$1&pl=$2 the * is the problem what can i write to see my images in my pages. are there anybody help me to solve my problem? Thank you very muck. Quote Link to comment https://forums.phpfreaks.com/topic/40591-mod_rewrite-and-images/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.