I have a problem with my website. I have a domain abc-xyz.com and I was uploaded source into a directory like name /folder . Ok, I can visit website by abc-xyz.com/folder . But problem detected. I need rewrite URL! Because root directory running another website, i want to rewrite URL for childrent directory /folder . And "http://abc-xyz.com/folde/r" is a string. So i was try:
RewriteBase /
RewriteCond %{HTTP_HOST} !^abc-xyz\.com$ [NC]
RewriteRule ^(.*)$ http://abc-xyz.com/test/folder/$1 [R=301,L]
but it not workly. when i visit http://abc-xyz.com/test/folder/ . It direct to abc-xyz.com (and it's a another website).
Thanks for read, and please help me. Sorry because my English very bad :(