最終更新:ID:WFTgah84uQ 2010年12月31日(金) 01:07:26履歴
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_http
takayuki@dev50% cat proxy.conf /etc/apache2/mods-enabled <IfModule mod_proxy.c> #turning ProxyRequests on and allowing proxying from all may allow #spammers to use your proxy to send email. ProxyRequests Off <Proxy *> AddDefaultCharset off Order deny,allow Allow from all #Allow from .example.com </Proxy> # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block ProxyVia On ProxyPass /rails http://localhost:3000 ProxyPassReverse /rails http://localhost:3000 </IfModule>
このページへのコメント
uM9TxY <a href="http://snnavtotkagq.com/">snnavtotkagq</a>, [url=http://gwlrbpliemmw.com/]gwlrbpliemmw[/url], [link=http://nmancftqsfnb.com/]nmancftqsfnb[/link], http://cnxtzgauhfay.com/