Rewrite Rule for redirect dynamic url to fixed base using htaccess

Problem : I was using absolute base url like /blank.gif  in one of js based menu in classipress. However when i enable friendly URL where there is two slashes in url my image was not displaying.

Orginal:
http://mydomain.com/classi/bg_02.gif  –Working  ( as bg_02.gif exist in root)
http://mydomain.com/classi/real/bg_02.gif  — Not working ( as bg_02.gif exist in root and not in the sub folder real)
The life saver code was following
RewriteRule ^.*.bg_02.gif$ /classi/bg_02.gif [L]
This code will forward all request for bg_02.gif to root foldee where file exist

Haneef Puttur

***************
#There are TWO basic Rules for success. “Never Tell Everything You Know” and “Never Tell You Know Everything”

.