httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenlason, Josh" <jfenla...@ptc.com>
Subject RE: [users@httpd] mod_proxy_ajp (mod_rewrite) with ssl
Date Wed, 07 Jun 2006 15:28:17 GMT
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: [users@httpd] 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:robsiegen@googlemail.com]
> > Sent: Tuesday, June 06, 2006 12:01 PM
> > To: users@httpd.apache.org
> > Subject: Re: [users@httpd] 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: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> 

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message