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 Turner, John

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

 -Original Message-
 From: Mark O'Neil [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 29, 2003 10:17 AM
 To: Tomcat Users List
 Subject: mod_jk and auto mode
 
 
 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]
 

-
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]




RE: mod_jk and auto mode

2003-01-29 Thread Filip Hanik
I think it is in your httpd.conf file.
look for the ServerName directive, and then there is a UseCanonicalName directive too

Filip

-Original Message-
From: Mark O'Neil [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 6:29 PM
To: Tomcat Users List
Subject: Re: mod_jk and auto mode


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]


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