You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lucas Adamski <wa...@yahoo.com> on 2001/12/11 02:19:01 UTC

mod_webapp/tomcat forcing redirect to insecure? (stuck!)

Hi all,

I recently setup Apache+SSL (Ben SSL) 1.3.22 and Tomcat 4.01.  I want to be
running SSL-only, so I've configured httpd.conf to include RequireSSL and
EnableSSL.

My server.xml has the following Server setup:
  <Service name="Tomcat-Apache">

    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
     port="8008" minProcessors="5" maxProcessors="75"
     enableLookups="true"
     acceptCount="10" scheme="https" secure="true" redirectPort="443"
debug="0"/>

    <!-- Replace "localhost" with what your Apache "ServerName" is set to
-->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" defaultHost="<hidden to protect the innfocent>"
debug="0"
appBase="webapps">

Here is my problem, though.  If I reference a file directly (eg:
https://x.com/index.jsp), everything works perfectly.  But if I induce a
redirect by the server (eg: https://x.com/, or by going to a Realm
FORM-restricted page), I end up with a warning from Netscape to the effect
that I am being redirected from a secure document to an insecure document,
and then I get an error message about a zero-length (empty) page.

Anyone have any idea why on earth its forcing a redirect to http instead of
https?  The fully qualified server names are setup correctly in both the
httpd.conf and server.xml.  Thanks,
  Lucas.


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


How can I help with documentation?

Posted by Brandon Cruz <bc...@norvax.com>.
After 4 or 5 installations of various versions of tomcat 3.2.x, I have
finally figured out many of the most important areas where the documentation
could be improved.  I know that this is an older version of Tomcat, but I am
guessing that there are still thousands of people that will read this
documentation, and I could help to make it better for them.

I am somewhat limited on time, so I can make some changes, but not
completely rewrite the documents.  I also need someone to help me with how
to get signed up and how to check things in and out of CVS, etc.

Brandon Cruz


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX REDHAT 7.1, APACHE 1.3???

Posted by Brandon Cruz <bc...@norvax.com>.
Thanks a ton!  It worked.  I actually did finally get mine to compile, but
there must have been some type of error, apache would not start, not
mod_jk.log was created, and my file size was different than yours.  Did you
have to do anything special to get that to compile correctly?  To get mine
to compile, I had to go in and modify the mod_jk.c to change the directories
that it looked in for some other files.  Did you do anything besides that?

Thanks Again!

Brandon


-----Original Message-----
From: Charles Webber [mailto:charlesw7@earthlink.net]
Sent: Monday, December 10, 2001 9:52 PM
To: Tomcat Users List
Subject: Re: DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX
REDHAT 7.1, APACHE 1.3???


try this one....
----- Original Message -----
From: Brandon Cruz <bc...@norvax.com>
To: Tomcat Users List <to...@jakarta.apache.org>
Sent: Monday, December 10, 2001 5:41 PM
Subject: DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX REDHAT 7.1,
APACHE 1.3???


> I keep getting these errors when trying to compile with apxs...
>
>
cc -DHARD_SERVER_LIMIT=2048  -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin
>
:/usr/bin" -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208103 -DMOD_PERL -DUSE_P
>
ERL_SSI -fno-strict-aliasing -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I..
>
/lib/expat-lite -O2 -march=i386 -mcpu=i586 -fPIC -I/home/kan/work/PSA_PLUS_1
>
_3_1/apache/../release/openssl/include -I/usr/include/db1 -fpic -DSHARED_MOD
> ULE -I/usr/local/psa/apache/include  -c mod_jk.c
> mod_jk.c:89:23: jk_global.h: No such file or directory
> mod_jk.c:90:21: jk_util.h: No such file or directory
> mod_jk.c:91:20: jk_map.h: No such file or directory
> mod_jk.c:92:21: jk_pool.h: No such file or directory
> mod_jk.c:93:24: jk_service.h: No such file or directory
> mod_jk.c:94:23: jk_worker.h: No such file or directory
> mod_jk.c:95:31: jk_uri_worker_map.h: No such file or directory
> apxs:Break: Command failed with rc=1
>
> Can someone please give me a hint on what I am missing, or just send me
your
> good copy of mod_jk.so?
>
> Thank you for any help!
>
> Brandon Cruz
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX REDHAT 7.1, APACHE 1.3???

Posted by Charles Webber <ch...@earthlink.net>.
try this one....
----- Original Message -----
From: Brandon Cruz <bc...@norvax.com>
To: Tomcat Users List <to...@jakarta.apache.org>
Sent: Monday, December 10, 2001 5:41 PM
Subject: DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX REDHAT 7.1,
APACHE 1.3???


> I keep getting these errors when trying to compile with apxs...
>
>
cc -DHARD_SERVER_LIMIT=2048  -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin
>
:/usr/bin" -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208103 -DMOD_PERL -DUSE_P
>
ERL_SSI -fno-strict-aliasing -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I..
>
/lib/expat-lite -O2 -march=i386 -mcpu=i586 -fPIC -I/home/kan/work/PSA_PLUS_1
>
_3_1/apache/../release/openssl/include -I/usr/include/db1 -fpic -DSHARED_MOD
> ULE -I/usr/local/psa/apache/include  -c mod_jk.c
> mod_jk.c:89:23: jk_global.h: No such file or directory
> mod_jk.c:90:21: jk_util.h: No such file or directory
> mod_jk.c:91:20: jk_map.h: No such file or directory
> mod_jk.c:92:21: jk_pool.h: No such file or directory
> mod_jk.c:93:24: jk_service.h: No such file or directory
> mod_jk.c:94:23: jk_worker.h: No such file or directory
> mod_jk.c:95:31: jk_uri_worker_map.h: No such file or directory
> apxs:Break: Command failed with rc=1
>
> Can someone please give me a hint on what I am missing, or just send me
your
> good copy of mod_jk.so?
>
> Thank you for any help!
>
> Brandon Cruz
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>

DOES ANYONE HAVE MOD_JK COMPILED FOR TOMCAT3.2.4, LINUX REDHAT 7.1, APACHE 1.3???

Posted by Brandon Cruz <bc...@norvax.com>.
I keep getting these errors when trying to compile with apxs...

gcc -DHARD_SERVER_LIMIT=2048  -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin
:/usr/bin" -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208103 -DMOD_PERL -DUSE_P
ERL_SSI -fno-strict-aliasing -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I..
/lib/expat-lite -O2 -march=i386 -mcpu=i586 -fPIC -I/home/kan/work/PSA_PLUS_1
_3_1/apache/../release/openssl/include -I/usr/include/db1 -fpic -DSHARED_MOD
ULE -I/usr/local/psa/apache/include  -c mod_jk.c
mod_jk.c:89:23: jk_global.h: No such file or directory
mod_jk.c:90:21: jk_util.h: No such file or directory
mod_jk.c:91:20: jk_map.h: No such file or directory
mod_jk.c:92:21: jk_pool.h: No such file or directory
mod_jk.c:93:24: jk_service.h: No such file or directory
mod_jk.c:94:23: jk_worker.h: No such file or directory
mod_jk.c:95:31: jk_uri_worker_map.h: No such file or directory
apxs:Break: Command failed with rc=1

Can someone please give me a hint on what I am missing, or just send me your
good copy of mod_jk.so?

Thank you for any help!

Brandon Cruz


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>