ProxyPass and DocumentRoot on one domain

后端 未结 3 789
长发绾君心
长发绾君心 2021-02-07 02:27

Let\'s say I have the following configuration:


    # Server names, admins, logs etc...

    ProxyVia On
    ProxyRequests Off
             


        
3条回答
  •  独厮守ぢ
    2021-02-07 03:11

    Actually, I resolved this problem with the following code:

    ProxyPass /forum !
    ProxyPass / http://localhost:8080/tomcat-webapp/
    ProxyPassReverse / http://localhost:8080/tomcat-webapp/
    Alias /forum /var/www/forum
    

提交回复
热议问题