This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I think SSL is pretty well integrated these days. However, configure SSL in your apache setup and if you get errors on the SSL config statements, you'll know that it's not installed. Or that it's not switched on. In which case, look at your /etc/apache2 config files. You should have an SSL config file in there somewhere, I think.
Customer surveys are for companies who didn't pay proper attention to begin with.
But before the SSL, I need to set up the mod_jk so that my Apache server communicates with Tomcat sitting behind. As i browsed through the websites, it all pointed to me that I should configure this in the httpd.conf by uncommenting just two lines, but to my surprise my httpd.conf located under /etc/apache2 is empty. Bemused.
Its normal for httpd.conf to be empty. modern debian based distros (and Ubuntu is Debian based) leave it empty, or under the control of the distribution.
most of what you want to control is done by making logical links in the appropriate subdirectory. Look at your /etc/apache2/sites-available directory, put your local server config there. Then go to ../sites-enabled and make a softlink to the sites-available.
I just found out from the error log that the Apache looks for the files to be located under /var/www and it does not seem to respect the httpd.conf configurations.
From the above log entry it is evident that when I accessed http://localhost/examples it straightaway looked for it under /var/www as I have configured my DocumentRoot as /var/www. Should this be a reason for the mod_jk not to work?
Just found out that the jk_mod is enabled elsewhere other than from my httpd.conf (in mods-enabled and mods-available). So uncommented them and got rid of the warning above. But still not able to find my way out to solve the mystery of making apache communicate with Tomcat using the configuration that I made in my above post.
I'm sure this is just a simple configuration missing somewhere but where is the question for me now. I guess this must have been done a zillion of times by others. Google search did not pull any satisfying results. Any one from here could help me?