I have a small web site that I what to have a easy link.
A link like:
http://mysite/?var1=v1
Will apear like
http://mysite/var1/v1/
I have whriten the rewrite code to:
RewriteEngine on
RewriteRule ^var1/([a-z_]*)/{0}$ http://mysite/var1/$1/ [R]
RewriteRule ^var1/([a-z_]*)/$ http://mysite/index.php?var1=$1
But now all my images and scripts are gone... the browser is looking for them in: (example)
http://mysite/var1/v1/images/img1.jpg
When the corect path is:
http://mysite/images/img1.jpg
He is assuming the new link has a path.
Can any one help me?