You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ansalvish, Dave R" <An...@navair.navy.mil> on 2002/01/15 14:19:34 UTC
Guidenance Please
-----Original Message-----
From: Ansalvish, Dave R
Sent: Tuesday, January 15, 2002 8:14 AM
To: 'tomcat_user@jakarta.apache.org'
Subject: Guidenance Please
Hi,
First, I want to thank the group the helpful hints I have been receiving,
I'm slowly getting the hang of this TOMCAT/Apache monster. But, I still
have a few problems and a some questions.
System:
Tomcat 4.0.1
Apache 1.3.12
Solaris 8
JDK 1.3.1-02
I'm still trying to intergrate TOMCAT/Apache I have done the following...
- Downloaded and installed mod_webapp.so binary into $APACHE_HOME/libexec
directory.
Modified httpsd.conf
- Added 'LoadModule webapp_module libexec/mod_webapp.so' at the end
of all my other
LoadModule lines.
- Added 'AddModule mod_webapp.c' after all my other AddModule lines.
Now for the confusion....
- We run multiple vitural apache servers on different ports. For
example, we have a server that
used non-ssl on port 8600 and after a user get authenticated the user
is switched to a ssl
connection on port 8601. So, would I put the following line in the
8601 virtual host section
and would I need to add a special context line in the server xml.
WebAppConnection warpConnection warp dislink.jcte.jcs.mil:8601
WebAppDeploy examples warpConnection /examples/
- Another area of confusion I'm having is with the server.xml file.
Within the file it states
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" appBase="webapps">
But, where is the local host statement in the line above. I tried
adding name='mywebserver',
and when I restarted Apache and TOMCAT my complete Apache web server
hangs and I can't find any
errors.
So if someone has any good examples of a server.xml and httpsd.conf
that they are willing to share I would appreciated it.
Thanks in advance.
Dave
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Guidenance Please
Posted by Dave Whitla <da...@nationalmortgage.com.au>.
> WebAppConnection warpConnection warp dislink.jcte.jcs.mil:8601
> WebAppDeploy examples warpConnection /examples/
the port number here is the port on which the Tomcat end of Warp listens for
Warp protocol connections from Apache.
It corresponds to a Connector of class Warp declared in server.xml.
You could forward the authenticated request (eg in your authentication
servlet) to a protected resource (ie the index of the secured part of your
webapp). To force a switch to SSL you would configure the redirect
attribute of your HTTP connector listening on port 80 to redirect to port
443 when the protected resource specifies a requirement for SSL.
This is all in the online documentation which is duplicated in the
/tomcat-docs tree of the sample webapp distributed in the Tomcat source and
binary bundles. If you already have Tomcat up and running in standalone
(out of the box) mode point your browser at
http://your.tomcat.server:8080/tomcat-docs/index.html
> - Another area of confusion I'm having is with the server.xml file.
> Within the file it states
>
> <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
> <Engine className="org.apache.catalina.connector.warp.WarpEngine"
> name="Apache" debug="0" appBase="webapps">
>
> But, where is the local host statement in the line above. I tried
> adding name='mywebserver',
> and when I restarted Apache and TOMCAT my complete Apache web server
> hangs and I can't find any
> errors.
>
> So if someone has any good examples of a server.xml and httpsd.conf
Ignore it. The documentation answers all these questions and is much
quicker for you than posting to mailing lists.
The documentation is online also at http://jakarta.apache.org/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>