Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Hi all, I'm still pretty new to this. I'm trying to set up a home server for testing and learning purposes, and I'm having some troubles setting up virtual hosts with Apache and mod_jk. I have created a virtual host in my httpd.conf: VirtualHost *:80 DocumentRoot

[OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, /*.jsp ajp13 /*.do ajp13 I assume these lines say JkMount before the paths...? This works great when I set up my hosts file to point www.townsfolkdesigns.com to the correct IP of my server box. However, if I try to access the server directly by IP, I get a 403 error.

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Hi Chris, On 8/2/06, Christopher Schultz [EMAIL PROTECTED] wrote: Eric, /*.jsp ajp13 /*.do ajp13 I assume these lines say JkMount before the paths...? This is correct, sorry (bad rectangular copy). Are you using name based virtual hosting -- meaning that the hostname

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, Thank you for the advice regarding multiple instances of Tomcat, this is a great idea and I will read the documentation on it, but if there are any pointers anyone has they'd be greatly appreciated. I don't know of any specific online documentation to point you to, but you basically set

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Chris, I remembered seeing something about this when I downloaded tomcat, and managed to find this in the RUNNING.txt. == Advanced Configuration - Multiple Tomcat Instances == In many

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Eric Berry
Chris, Thank you so very much for all the help. So all I need besides the workers.properties entries you mentioned previously, is to make sure that virtual hosts in httpd.conf have the JkMounts pointed to the worker I choose. That worker's port must coincide with a Connector configuration in

Re: [OT: Apache] Re: Virtual Hosting with Apache and mod_jk

2006-08-02 Thread Christopher Schultz
Eric, So all I need besides the workers.properties entries you mentioned previously, is to make sure that virtual hosts in httpd.conf have the JkMounts pointed to the worker I choose. That worker's port must coincide with a Connector configuration in the server.xml for an instance of tomcat.