htaccess Elite

Hire htaccesselite professional

.htaccess tutorial


All times are UTC - 5 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: redirection question
PostPosted: May 22nd, '08, 12:36 

Joined: May 22nd, '08, 12:29
Posts: 1
I'm having a hard time understanding .htaccess' mod_rewrite. Could someone help me with this problem...

I have a document root in /home/user/public_html/
I have 3 domains pointing there: http://www.domain[1|2|3].com

I want to transfer all of these domains to /home/user/public_html_2/

I cannot modify virtual hosts in apache's configs so i can only do it with .htaccess. So if i had a file /home/user/public_html/files/1.gif that was accessible by http://www.domain[1|2|3].com/files/1.gif - now i want this file to be located in /home/user/public_html_2/files/1.gif and accessed with exactly the same url.

Thanks for your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB