Windows版Apache2.0でmod_proxyを使う
Windows版Apache2.0にmod_proxyを使う。
躓いたところは二箇所。
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so #(中略) ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /images ! ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/
こんな感じに書く。
1番についてはApacheのエラーログにそれっぽいのが吐かれる。
[Tue May 01 14:16:51 2007] [warn] proxy: No protocol handler was valid for the URL /test. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.