RE: [users@httpd] mod_proxy_ajp (mod_rewrite) with ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx'
> 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@xxxxxxxxxxxxxx]
> > Sent: Tuesday, June 06, 2006 12:01 PM
> > To: users@xxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> 

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux