mod-proxy-ajp

How to Forward HTTP methods from apache2 using proxy_ajp to tomcat

浪尽此生 提交于 2020-04-30 06:38:47
问题 I have configured and web server with apache2 then proxy request to tomcat with ajp protocol like this: <host *:443> ProxyRequests On ProxyPreserveHost On <Proxy *> Order allow,deny Allow from all AllowMethods GET PUT DELETE POST OPTIONS </Proxy> ProxyPass / ajp://some_vhost:8009/ ProxyPassReverse / ajp://some_vhost:8009/ All request received from apache2 server forward to GET HTTP method to tomcat, so if you are listening for some rest operation a post method this behavior causes a non

How to Forward HTTP methods from apache2 using proxy_ajp to tomcat

帅比萌擦擦* 提交于 2020-04-30 06:37:47
问题 I have configured and web server with apache2 then proxy request to tomcat with ajp protocol like this: <host *:443> ProxyRequests On ProxyPreserveHost On <Proxy *> Order allow,deny Allow from all AllowMethods GET PUT DELETE POST OPTIONS </Proxy> ProxyPass / ajp://some_vhost:8009/ ProxyPassReverse / ajp://some_vhost:8009/ All request received from apache2 server forward to GET HTTP method to tomcat, so if you are listening for some rest operation a post method this behavior causes a non