RewriteRule ^page1\.php/var1=(.*)$ _page1.php?var1=$1 [L]
mydomain.com/page1.php/var1=sth is rewrited as mydomain.com/page1.php?var1=sth
The problem is that all links and images sources in page1.php are modified.
Example: an image source image.jpg (under mydomain.com) is rewrited as mydomain.com/page1.php/image.jpg instead of mydomain.com/image.jpg
How may I correct the Rule?
thank you in advance