Re: mod_jk and auto mode

2003-01-30 Thread Mark O'Neil
Yep that was the solution. thank you, -m

On Wednesday, January 29, 2003, at 09:43 PM, Filip Hanik wrote:


I think it is in your httpd.conf file.
look for the ServerName directive, and then there is a UseCanonicalName 
directive too

Filip


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




mod_jk and auto mode

2003-01-29 Thread Mark O'Neil
John wrote:


There's no need to mirror content in two directories, nor is there
any need to point Tomcat at Apache's content root.  You can just
make Apache's doc root the same as Tomcat's Context root and the
issue goes away.  Or, just put your JSP and servlets in Tomcat's doc
root and leave it like that.



By Tomcat's Context root do you mean the directory that is currently 
ROOT?

-m


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk and auto mode

2003-01-29 Thread Mark O'Neil
Hello!

Okay so I have mod_jk working (not in auto mode - will test that 
tomorrow), but not without a couple issues most likely due to me still 
wrapping my head around how tomcat works.

when I run http://myserver.dartmouth.edu:8080/examples the URL stays the 
same through the launching of the example servlets.

however when I run http://myserver.dartmouth.edu/examples the URL 
changes to http://myserver/examples

I guessing this is a setting in the examples web.xml as a couple test 
servlets I have installed do not exhibit this behavior (and I wrote 
those web.xml files)

or is this a localhost setting issue from somewhere else?

If I understand what John is saying below I should be able to stash all 
my content in /raid/htdocs and have a setting in server.xml point to 
that instead of tomcat4/webapps - correct? Following this non-servlet 
oriented files would simply follow htdocs/ and the rest would go into 
htdocs/servlet_dir/WEB_INF and be picked off based on JkMount/JkUriSet?

I assume the docBase can be set for the 'over all' Context as well as 
for individual servlet contexts? Meaning I can set the Overall Context 
docBase to be htdocs then have servletA's docBase be 
tomcat4/webapps/servletA?

Interesting discussion on the Apache ~user front also. I will most 
likely have to move an installation in that direction eventually.

Thanks,
-m

On Wednesday, January 29, 2003, at 10:30 AM, Turner, John wrote:


No, I mean the docBase attribute of Context can be the same as Apache's
DocumentRoot.  That way, all of your content is in one location.  The
requests will still be handled appropriately by Apache and Tomcat based 
on
JkMount/JkUriSet.

John


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




JK vs. Standalone?

2003-01-28 Thread Mark O'Neil
Hello,

I may be a bit confused, but here goes anyway:

My understanding is that JK 'binds' tomcat to apache so that instead of 
running a servlet or jsp via the Tomcat port http://my-
host:8080/my-servlet you can run it via apache directly http://my-
host/my-servlet - correct?

The question then is: what are the determining factors for implementing 
JK in a production system? Specifically why would I and to what benefit? 
I have a feeling it has to do with combining the otherwise different 
document roots and file management(?).

Insights please.

regards,
-m


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: mod_jk config problems

2003-01-28 Thread Mark O'Neil
Should 'mod_jk-1.3-eapi.so be renamed 'mod_jk.so'?
-m

On Tuesday, January 28, 2003, at 12:59 PM, vivek karkun wrote:


LoadModulejk_module
modules/libexec/mod_jk-1.3-eapi.so
AddModule mod_jk.c



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]