0
我有兩個子域:sinology.mydomain.com和application.mydomain.com。我有Apache 2.2處理HTTP請求。子域和虛擬主機
我正在尋找發送synology HTTP到另一臺計算機和應用程序的HTTP請求到Apache計算機,但在不同的端口。
我在Apache conf文件中做了以下更改,但這不起作用。
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<VirtualHost *.80>
ServerName application.mydomain.co.uk
ProxyPass /app http://localhost:8080/app
ProxyPass/http://localhost:8080/app
ProxyPassReverse/http://localhost:8080/
</VirtualHost>
<VirtualHost *.80>
ServerName synology.mydomains.co.uk
ProxyPass/http://192.168.0.3
ProxyPassReverse/http://192.168.0.3
</VirtualHost>
<Location />
Order allow,deny
Allow from all
</Location>
謝謝。 David。
簡單:80 ...謝謝! –