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 Tue, 06 Jun 2006 21:16:49 GMT
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