透過Apache的mod_proxy轉同台機器的IIS
同一台機器不能同樣都用80 port,
因此如果需要用到 ASP 的程式時,
可以考慮同時啟用 Apache 和 IIS,
但是IIS的port仍然要先避開 80。
之後可以參考用 apache 的 mod_proxy 功能,
轉換至
可以參考以下的做法:(引自)
因此如果需要用到 ASP 的程式時,
可以考慮同時啟用 Apache 和 IIS,
但是IIS的port仍然要先避開 80。
之後可以參考用 apache 的 mod_proxy 功能,
轉換至
可以參考以下的做法:(引自)
#Put this after the other LoadModule directives LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so # Put this with your other VirtualHosts, or at the bottom of the file NameVirtualHost * <VirtualHost *> #for apache original www ServerName confluence.example.com DocumentRoot d:\appserv\www ProxyRequests Off </VirtualHost> <VirtualHost *> #for IIS mapping ServerName jira.example.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://jira-app-server.internal.example.com:8080/ ProxyPassReverse / http://jira-app-server.internal.example.com:8080/ <Location /> Order allow,deny Allow from all </Location> </VirtualHost
留言
張貼留言