.htaccess - redirect directory to domain htaccess without changing domain url -


i have site sub.domain1.com

but access following url: domain2.com/folder

here .htaccess file in domain2.com

rewriteengine on rewritebase / rewriterule ^folder/(.*) http://sub.domain1.com/$1 [l,r=301] 

this redirection works wouldn't change url sub.domain1.com

i want display content of sub.domain1.com using url domain2.com/folder without changing url.

thanks in advance


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -