.htaccess help |
[eluser]Progressed[/eluser]
Hi all, I hope you all can help me! Problem: I have 2 websites on the same server, but with each their own virtual host. Domain 1 contains the CMS (in codeigniter) and hosts all the files for both domain 1 and 2. What i would like is that i can do this: imagefolder: www.domain1.com/media/domain1/(here are all the images for domain 1).jpg and www.domain1.com/media/domain2/(here are all the images for domain 2).jpg I would love to use .htaccess to do the following: make a rule that www.domain2.com/media/ goes to www.domain1.com/media/ in the background as some kind of .htaccess alias so i can look into the source and its shows: www.domain2.com/media/domain2/image.jpg instead of www.domain1.com/media/domain2/image.jpg Is this even possible? |
Welcome Guest, Not a member yet? Register Sign In |