View Single Post
Old 07-23-2006   #58
kenvunz
 
Posts: n/a
How to replace ../ with /

Hi, I have seen some of the html code where

<img src='/images/abc.gif'> and <img src='../images/abc.gif'>
produce the same result (there is no 'images' folder duplication, only one images folder exist), I believe that this trick can be done by using mod_rewrite (replace / with ../) right ? But how ? Can someone show me how to achieve this? It would save me hours of digging to the html page and changing the source folder.

thanks
  Reply With Quote