apache proxy



<VirtualHost 127.0.0.1:8081>

ProxyRequests on
<Proxy /smart >
Order deny,allow
Allow from all
deny from all
</Proxy>


ProxyPass /smart http://127.0.0.1:8080/smart
ProxyPassReverse /smart  http://127.0.0.1:8080/smart

ProxyPass /brightdairymain http://127.0.0.1:8080/brightdairymain
ProxyPassReverse /brightdairymain  http://127.0.0.1:8080/brightdairymain

</VirtualHost>

你可能感兴趣的:(apache)