How to configure tomcat java web application in Apache?
I have a tomcat web application which is running under http://localhost:8080/app_name.
Now i would like to configure that application under apache, for that i created one config file under sites-available/ and i enabled that site.config using a2ensite. Now i have config shortcut under sites-enable/.
Allow from all
ProxyPass / http://localhost:8080/realmilk/app_name
ProxyPassReverse / http://localhost:8080/app_name
When i run that configured domain i got
<^>Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at adavipalem.com Port 80<^>
Thanks & Regards
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.