用httpd.conf和mod_proxy_ajpparsing两个tomcat实例到两个不同的目录
请原谅我对这个话题的无知。 我已阅读,search和search,我仍然挣扎着我的设置。 我想设置我的httpd.conf允许一个域,有两个目录parsing到两个不同的tomcat实例。 www.example.com/first <VirtualHost "ip address":80> ServerName example/first ErrorLog /var/log/httpd/first_error.log CustomLog /var/log/httpd/first_access.log combined <Proxy *> AddDefaultCharset off Order deny,allow Allow from all </Proxy> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ </VirtualHost> www.example.com/second <VirtualHost "ip address":80> ServerName example/second ErrorLog /var/log/httpd/second_error.log CustomLog /var/log/httpd/second_access.log combined <Proxy *> AddDefaultCharset off Order deny,allow Allow from all </Proxy> ProxyPass / ajp://localhost:8010/ […]