Re: RE: RE: [users@httpd] ReverseProxy and SSL

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

 



Hi Boyle,

> > Listen 10.69.227.58:80
> > NameVirtualHost 10.69.227.58:80
> > 
> > <virtualhost 10.69.227.58:80>
> >     SSLProxyEngine on
> >     ServerName www.apache.site.nl
> > 
> >     RewriteEngine On
> > 
> >     ProxyHTMLLogVerbose On
> 
> Eh? never seen ProxyHTML* directives before... what module are they in?
mod_proxy_html (see http://www.apacheweek.com/features/reverseproxies for an explantion) but in short this module will rewrite all references in the html, the proxy does only rewrite the headers as you probably know
> 
> >     LogLevel Debug
> 
> Do you get any interesting log messages?
> 
> > 
> >     ProxyPreserveHost Off
> > 
> >     ProxyPass / https://www.test.site.nl/
> >     ProxyHTMLURLMap <a href=http://www.apache.site..nl/>http://www.apache.site..nl/</a>/
> 
> What is this suposed to do? BTW, the ".." is a typo, I guess?
Yep is indeed a typo....type to much to fast ;)
> 
> > 
> >     <location />
> >         ProxyPassReverse /
> 
> - why is this in a Location container?
> - why has it only one argument? (should be
see http://www.apacheweek.com/features/reverseproxies again for an explanation
> 
> 	ProxyPassReverse / https://www.test.site.nl/
> 
> 
> >         RequestHeader unset Accept-Encoding
> >     </location>
> > </virtualhost>
> > 

I've got a header trace, i've included it here. As you can see we get an redirect from the tomcat server in which are two locations in the location:

http://www.apache.site.nl/PostcodeTest/servlet/postcodecheck?postcode=1000AB

GET /PostcodeTest/servlet/postcodecheck?postcode=1000AB HTTP/1.1
Host: www.apache.site.nl
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.5) Gecko/20041202 Firefox/1.0
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: nl-NL,nl;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.apache.site.nl/PostcodeTest/Invoer.jsp
Cookie: JSESSIONID=AE3450C9571734C55335630122129A20

HTTP/1.x 302 Moved Temporarily
Date: Thu, 10 Mar 2005 12:36:34 GMT
Server: Apache-Coyote/1.1
Location: https://www.apache.site.nl, www.test.site.nl/PostcodeTest/Toon.jsp
Content-Length: 0
X-Cache: MISS from www.test.site.nl
Content-Type: text/plain; charset=iso-8859-1

Download nu Lycos Inside! Bekijk al je berichten in Outlook en zet je documenten online!  Ga snel naar mail.lycos.nl


---------------------------------------------------------------------
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