i need a help with .htaccess rewrite file..

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
tharshan
Forum Newbie
Posts: 1
Joined: Sun Jul 08, 2007 12:12 pm

i need a help with .htaccess rewrite file..

Post 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.
User avatar
andym01480
Forum Contributor
Posts: 390
Joined: Wed Apr 19, 2006 5:01 pm

Post 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.
Post Reply