Danny Luk

Greenhorn
+ Follow
since Mar 11, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Danny Luk

I restarted both and ran http://ipaddress:8088/shop to make sure the app is running. But http://www.mywebsite.com still returns the Apache HTTP Server Test Page.
11 years ago
I added the context line like you said and it's the same when I restarted Apache.
11 years ago
Yes I do.
11 years ago
I have a problem with using both Apache 2.2.3 and Tomcat 5.5.23 using mod_jk.
Basically when I type http://www.mywebsite.com I want it to go to http://ipaddress:8088/shop where shop is my webapp and it's in the shop dir under /usr/lib/apache-tomcat-5.5.23/webapps.
I tested that tomcat is working and http://ipaddress:8088/shop brings up the shop web app.
Here's what I've done:
-Downloaded and put mod_jk.so into /usr/lib/httpd/modules
-Created mod_jk.conf in /etc/httpd/conf.d with the following lines:

-Created workers.properties in /etc/httpd/conf with the following lines:

-Add virtual host in /etc/httpd/conf/httpd.conf as such:

192.168.0.2 is the internal ip for the website.
But I only see the Apache default after I restart both Apache and Tomcat and then type http://www.mywebsite.com.
So what did I do wrong or miss?
11 years ago