Apache2 + Tomcat7 on Debian7
I followed these guides to setup my wordpress:
1 -> https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-debian-7
2 -> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-varnish-with-apache-on-ubuntu-12-04–3
What I need is to run both Apache2 and Tomcat7 at the same time. I want wordpress to redirect to JSP files.
After following this guide:
After installing tomcat the next scenarios could happen:
Result: webpage on IP:8080 works.
Result: webpage on IP, wordpress would load but not the CSS, blank page with text only, without style. Neither the links inside the wordpress would load its CSS, not even the login would apply CSS.
Result: Same as scenario 2 but the IP:8080 wont load.
I think the problem is some varnish configuration, but I dont know what to change. Followed the guides exactly.
NOTE: i want varnish in front of apache2, not tomcat7.
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.