I am using Apache Tomcat for deploying the application.The application require ProxyPass and ProxyPassReverse to be configured,I have read documents stating that the ProxyPass are served by Apache Server.How can I serve and configure the same using tomcat without using Apache Server.
I have read the below codeis configured in httpd.conf file of Apache server for serving proxyPass and ProxyPassreverse:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName 127.0.0.1
DocumentRoot /var/www
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /static/ !
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
.
.
.
Alias /static/ "/apache/www/"
</VirtualHost>