Is it possible to do this using htaccess?
User access -> http:// mydomaina.com/dir/filename
and it will display the content from -> http:// mymainsite.com/anydir/mydomaina-filename
i did have a htaccess code but its not working maybe theres something missing
<IfModule mod_rewrite.c>
RewriteRule ^dir/(.*)\.xml$ http://mymainsite.com/dir/%{HTTP_HOST}-$1.xml [P]
</IfModule>
Thanks