1

I need to access http://www.domain.com/uri-path-to-resource.rsc in the browser, but to display the content from http://shop.domain.com/uri-path-to-resource.rsc. Unfortunately ProxyPass could not be used in the .htaccess file and I have no idea how to accomplish it.

Any ideas are more than welcome!

2 Answers 2

0

Try:

RewriteRule ^uri-path-to-resource.rsc$ /absolutepath/private_html/shop.domain/uri-path-to-resource.rsc [L]

Change the example path to the absolute path for your shop.domain.

0

You can try this rule

RewriteRule ^uri-path-to-resource.rsc$ http://shop.domain.com/uri-path-to-resource.rsc [L]
2
  • Yes, I though of that, but it will not do the trick in my case. Dec 16, 2015 at 12:52
  • The www. domain's document root is the ~/public_hml, but for the shop.domain is ~/private_html/shop.domain/ Dec 16, 2015 at 12:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .