首页 > Web开发 > 详细

apache 80 端口 做转发到其他端口

时间:2020-03-31 11:24:20      阅读:85      评论:0      收藏:0      [点我收藏+]
<VirtualHost *:80>
    DocumentRoot /opt/www/
    ServerName xxx.com
    ErrorLog logs/xxx.com-error_log
    CustomLog logs/xxx.com-access_log combined
    #<Location /scheme_node_act/>
     #ProxyPass http://localhost:8360/
     #ProxyPassReverse http://localhost:8360/
     ProxyPassMatch  ~*/(scheme_node_act)/(.*)  http://localhost:8361/$1/$2
     ProxyPassMatch  ~*/(manager)/(.*)  http://localhost:8360/$1/$2
     ProxyPassMatch  ~*/(home_web)/(.*)  http://localhost:8360/$1/$2
     ProxyPassMatch  ~*/(cplusplus)/(.*)  http://localhost:8360/$1/$2
     ProxyPassMatch  ~*/(xzy_exam)/(.*)  http://localhost:8362/$1/$2
     ProxyPassMatch  ~*/(erlang)/(.*)  http://localhost:8080/xiao2_war/$1/$2
    # ProxyPassMatch  ~*/(golanger)/(.*)  
    http://localhost:8080/zajindan_war/$1/$2


    #</Location>

</VirtualHost>

  

apache 80 端口 做转发到其他端口

原文:https://www.cnblogs.com/shijiu520/p/12603105.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!