0

http://mysite.com/somefile.htmlApache 経由でリモート サーバーからロードしたい。の使用でこれは可能RewriteCondですか?

4

2 に答える 2

0

mod_proxy書き直す代わりに、これに使用することをお勧めします。

<IfModule mod_proxy.c>
  ProxyRequests Off

  <proxy *>
    Order deny,allow
    Allow from all
  </proxy>

  ProxyPass /somefile.html http://remote.example.com/somefile.html
  ProxyPassReverse /somefile.html http://remote.example.com/somefile.html
</IfModule>
于 2012-11-05T14:40:51.183 に答える