Page 1 of 1

i need a help with .htaccess rewrite file..

Posted: Sun Jul 08, 2007 12:15 pm
by tharshan
Hello friends,

happy to see you here.

i need a help with .htaccess rewrite file..

i have 2 sites hosted in same Hosting account. and have a folder called "Images".

i want to use that same folder in both sites.. but i dont want to display my first site name in second one..

example file location:

public_html/site1/images/example.jpg - it will work when i type : http://www.site1.com/images/example.jpg


i want to use the same folder from my other hosting. (hosted in same account.)
example :
public_html/site2/ , but there is no "images" folder.

i want the site2 use "images" from public_html/site1/images . but without displaying domain : http://www.site1.com to users..

i want it to work with :
http://www.site2.com/images/example.jpg


Thanks A Lot.

Posted: Sun Jul 08, 2007 2:22 pm
by andym01480
http://www.google.com search for "htaccess tutorial" would provide the answer in about 0.17seconds!

The first link is the best tutorial, try page 2.