0
다른 웹 애플리케이션으로 요청을 전달해야하는 두 개의 가상 호스트를 정의해야합니다. appache가 설치된 PC의 IP 주소는 192.168.100.208입니다. 192.168.100.50아파치 http 프록시와 리버스 프록시
<VirtualHost *:7778>
ServerName 192.168.100.208
ProxyRequests On
ProxyPreserveHost Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyErrorOverride On
ProxyPass/http://192.168.100.50:9081/app1/
ProxyPassReverse/http://192.168.100.50:9081/app1/
<Location>
Order allow,deny
Allow from all
</Location>
나는이 필요합니다 : 응용 프로그램이 설치되는 응용 프로그램 서버의 IP는 내가 브라우저에 입력 할 때 그래서
<VirtualHost *:7777>
ServerName 192.168.100.208
ProxyRequests On
ProxyPreserveHost Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyErrorOverride On
ProxyPass/http://192.168.100.50:9081/app2/
ProxyPassReverse/http://192.168.100.50:9081/app2/
<Location>
Order allow,deny
Allow from all
</Location>
을 :
192.168.100.208:7778 i should get page from 192.168.100.50:9081/app1
,451,515,
및
192.168.100.208:7777 i should get page from 192.168.100.50:9081/app2
그러나 위가 작동하지 않습니다. 실수는 어디 있습니까?
누구를? 이것은 대답하기가 어렵지 않아야합니까? – djuRa