tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arvind singh" <sing...@hotmail.com>
Subject Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16
Date Wed, 04 Feb 2004 20:53:14 GMT
Try this.

workers.tomcat_home=/var/tomcat4
workers.java_home=/usr/java/java
ps=/

#-- Active connectors. Typically one per tomcat instance.
worker.list=ajp13

#------ ajp13 WORKER PARAMETERS ------------------------------
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1


----- Original Message -----
From: "Oscar Carrillo" <tomcat@daydream.stanford.edu>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>;
<ralf@tapfere-schneiderleins.de>
Sent: Wednesday, February 04, 2004 2:21 PM
Subject: Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16


> Hi,
>
> I assume that's an Apache error your getting. If that's true, then that
> means it's not mapped to Tomcat.
>
> I don't know anything about the mod_jk2 syntax, which sounds like the
> problem. Do you do the proper include for the workers2.properties in
> httpd.conf, which I assume you need to do?
>
> Alternatively, if you've gotten it work in both HTTP and HTTPS, you can
> redirect HTTP to HTTPS. Then it works, but you don't have the option of
> having a separate webapp for HTTP.
>
> Good luck,
> Oscar
>
> On Wed, 4 Feb 2004, Ralf Schneider wrote:
>
> > Am Montag, 2. Februar 2004 22:40 schrieb Oscar Carrillo:
> > > The method I describe may not work w/ mod_jk2. Frankly, I don't know.
But
> > > I did a search and found this site, which seems to show that you can
> > > define these things in workers2.properties
> > >
> > > http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html
> >
> > Hi Oscar,
> >
> > thanks for your help! I looked at this site and tried this in my
> > workers2.properties:
> >
> > [ajp13:localhost:8009]
> > channel=channel.socket:localhost:8009
> >
> > [uri:/demo_02/*:443]
> > info=Map the whole webapp
> > worker=ajp13:localhost:8009
> >
> > My intension was to map all requests to /demo_02 that come over HTTPS to
the
> > tomcat project.
> >
> > Unfortunately, I get an error message saying:
> >
> > You don't have permission to access /demo_02 on this server.
> > Additionally, a 403 Forbidden error was encountered while trying to use
an
> > ErrorDocument to handle the request.
> >
> > When I remove the port specification of the mapping it works, but with
both
> > HTTP and HTTPS :-(
> >
> > Do you have any idea what might be the problem?
> >
> > Ralf.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message