Apache Links

by mhardik

HTML

http://httpd.apache.org/docs/2.4/platform/windows.html

http://www.ntu.edu.sg/home/ehchua/programming/howto/Apache_HowToInstall.html
--------------------------------------------------

http://httpd.apache.org/docs/2.4/


Redirect 80 to 8080
---------------------
http://olex.openlogic.com/packages/mod_jk

http://geronimo.apache.org/GMOxDOC11/configure-apache-httpd-with-jakarta-tomcat-connector-modjk.html

http://www.openlogic.com/wazi/bid/188020/Making-Apache-and-Tomcat-Work-Together

http://tomcat.apache.org/connectors-doc/generic_howto/quick.html


--------------------
Access Controls Apache 2.4

The Allow, Deny, and Order directives, provided by mod_access_compat, are deprecated and will go away in a future version. You should avoid using them, and avoid outdated tutorials recommending their use. 

http://httpd.apache.org/docs/current/howto/access.html


Serving static contents from Apache
----------------------------------------
http://tomcat.apache.org/tomcat-4.1-doc/config/jk.html



If you have an Apache instance sitting in front of Tomcat. 
Some/all requests to Apache are forwarded to Tomcat AJP port 8009. 
Assuming this Apache-Tomcat bridge is working ok, and thus focusing only on your deployed application,
 you probably need to add some JKMount directives into Apache's httpd.conf file, 
to ensure that requests to /myApp url are indeed forwarded to Tomcat. 
Otherwise, they are served by Apache, 
which means that you get a 404 error when those resources are not found.
=========================================================

Apache 2.4
Connector which acts as proxy between Apache and Tomcat. --> mod_jk.so
Create a worker file in the Apache2.
Configure httpd.conf file to redirect requests to Tomcat.
Enable AJP in the Tomcat.