I finally figured it out.  I had to add 'RewriteEngine on' to my rewrite
config inside the ssl virtualhost.  Thanks.
,
Josh.

> -----Original Message-----
> From: Fenlason, Josh 
> Sent: Wednesday, June 07, 2006 10:28 AM
> To: 'users@httpd.apache.org'
> Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl
> 
> I was wrong.  I was just looking a simple tomcat example jsp 
> that contained html, so I thought the request was getting 
> passed onto Tomcat, but it wasn't.
> 
> It's gotta be something wrong with my mod_rewrite 
> configuration.  I tried adding my rewrite config to 
> httpd-ssl.conf right beneath the <VirtualHost _default_:443> 
> line, but the request still isn't getting passed to tomcat.  
> Any mod_rewrite experts out there that could tell me what I'm 
> doing wrong?  Thanks in advance.
> ,
> Josh. 
> 
> > -----Original Message-----
> > From: Fenlason, Josh
> > Sent: Tuesday, June 06, 2006 4:17 PM
> > To: 'users@httpd.apache.org'
> > Subject: RE: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl
> > 
> > Thanks for the tip, but I don't think that's my problem.  I just 
> > noticed that Tomcat is getting the request and generating the html 
> > from the jsp.  However, by the time it gets back to my browser the 
> > content type is text/plain not text/html like it should be. 
>  I'm not 
> > sure where the problem is.  My config?  Mod_proxy(_ajp)?  Mod_ssl?  
> > Any thoughts or suggestions would be greatly appreciated.  
> Thanks in 
> > advance.
> > ,
> > Josh.
> > 
> >   RewriteCond %{REQUEST_URI} /jsp-examples/(.*).jsp(.*)
> >   RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
> > 
> >   RewriteCond %{REQUEST_URI} /jsp-examples/servlet/
> >   RewriteRule ^/(.*) ajp://localhost:8010/$1 [P]
> > 
> > > -----Original Message-----
> > > From: Robert Ionescu [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, June 06, 2006 12:01 PM
> > > To: users@httpd.apache.org
> > > Subject: Re: [EMAIL PROTECTED] mod_proxy_ajp (mod_rewrite) with ssl
> > > 
> > > Fenlason, Josh wrote:
> > > > I think
> > > > it's probably something to do with my mod_rewrite configuration,
> > > 
> > > If you're using a SSL <virtualhost>, be sure to either 
> inherit the 
> > > rules from the main server config section with the RewriteOptions 
> > > directive or repeat the rules in that virtual host.
> > > 
> > > --
> > > Robert
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server 
> > > Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >    "   from the digest: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to