[us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread Mauri
Someone can help me? cheers, Mauri 2010/4/22 Mauri > Hi experts, > > this is my scenario: https://miosito.com --> mod_proxy --> > http://10.19.72.100:8080/ (tomcat) > > httpd conf: > > NameVirtualHost mysite.com:443 > > ProxyPreserveHost On > ProxyRequests off > ProxyPass / http://10.19.72.1

[us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Mauri
One more bit. Why I don't get a secure connection on the browser? I type https://mysite.com and get redirected to http://mysite.com In my scenario, for the backend application, I have to use in the ssl.conf the set "ProxyPreserveHost On" NameVirtualHost mysite.com:443 ServerName mysite.com Prox

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread GB GB
I had the exact same problem Instead of putting those lines in httpd.conf, try putting them in ssl.conf I am running version 2.0.54, and ssl.conf directives worked for me. regards, On Fri, Apr 23, 2010 at 9:51 AM, Mauri wrote: > > Someone can help me? > > cheers, > Mauri > > > 2010/4/22 Maur

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread Mauri
it's in ssl.conf, just # cat /etc/httpd/conf.d/ssl.conf [...] ProxyPreserveHost On ProxyRequests off ProxyPass / http://10.19.72.100:8080/ ProxyHTMLURLMap http://10.19.72.100:8080 / ProxyPassReverse http://10.19.72.100:8080/ ProxyHTMLEnable On ProxyHTMLURLMap / /

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Mauri
someone can help me? many thanks as usual. for recap this is my problem: When I digit https://mysite.com it becomes http://mysite.com because I think that the proxypass is http. It's wrong, I want that the URL will be https://mysite.com but I can use the ProxyPreserveHost (one backend application

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 2:11 PM, Mauri wrote: > > One more bit. Really? Sure it's not just the same things being repeated over and over again, without any testing or actual explanation of the problem? > > Why I don't get a secure connection on the browser? I type > https://mysite.com and get red

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Mauri
Thanks tom for the reply. about your request. This is the first call... others log is in http://mysite.com/bla/bla/bla I want that only http header will be https://mysite.com/bla/bla/bla and not http://mysite.com/bla/bla/bla many thanks. Cheers, Mauri --

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Jonas Eckerman
It would be nice if you answer some preliminary questions before asking for clarification about my answer below: Have you read the documentation for the directives you are trying to use? Are there some specific parts of the documentation that are unclear or difficult? Now on to my answer...

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 3:15 PM, Mauri wrote: > > Thanks tom for the reply. > > about your request. This is the first call... others log is in > http://mysite.com/bla/bla/bla > > I want that only http header will be https://mysite.com/bla/bla/bla and not > http://mysite.com/bla/bla/bla > > many th

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-26 Thread Mauri
Many thanks to Jonas and Tom for the suggest and support. Now I've understood the problem. I have just used the ProxyPassReverse but in this scenario it was different. The location that proxy traps was http://mysite.com and not http://10.19.72.127:8080/. This behavior was caused by the use of Pro