You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mauri <la...@gmail.com> on 2010/04/22 14:27:01 UTC

[users@httpd] ProxyPreserveHost On

Hi experts,

this is my scenario:  https://miosito.com --> mod_proxy -->
http://10.19.72.100:8080/ (tomcat)

httpd conf:

NameVirtualHost mysite.com:443
<VirtualHost mysite.com:443>
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://10.19.72.100:8080/
ProxyHTMLURLMap http://10.19.72.100:8080 /
<Location />
        ProxyPassReverse http://10.19.72.100:8080/
        ProxyHTMLEnable On
        ProxyHTMLURLMap  /      /
        RequestHeader    unset  Accept-Encoding
</Location>
[SSL directive...]

When I digit
https://mysite.com it becomes http://mysite.com because I think that hte
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 need to this set).

any idea?
many thanks, as usual.

Cheers,
Mauri

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
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 need to this set).

this is my ssl.conf:

NameVirtualHost mysite.com:443
<VirtualHost mysite.com:443>
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://10.19.72.100:8080/
ProxyHTMLURLMap http://10.19.72.100:8080 /
<Location />
        ProxyPassReverse http://10.19.72.100:8080/
        ProxyHTMLEnable On
        ProxyHTMLURLMap  /      /
        RequestHeader    unset  Accept-Encoding
</Location>
[SSL directive...]


2010/4/23 Mauri <la...@gmail.com>

>
> 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 /
> <Location />
>         ProxyPassReverse http://10.19.72.100:8080/
>         ProxyHTMLEnable On
>         ProxyHTMLURLMap  /      /
>         RequestHeader    unset  Accept-Encoding
> </Location>
> [...]
>
> but It don't work in my httpd-2.2.3-31. The error is below in my previous
> mail.
>
> Cheers,
> Mauri
>
>
> 2010/4/23 GB GB <gb...@gmail.com>
>
> 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 <la...@gmail.com> wrote:
>> >
>> > Someone can help me?
>> >
>> > cheers,
>> > Mauri
>> >
>> >
>> > 2010/4/22 Mauri <la...@gmail.com>
>> >>
>> >> Hi experts,
>> >>
>> >> this is my scenario:  https://miosito.com --> mod_proxy -->
>> >> http://10.19.72.100:8080/ (tomcat)
>> >>
>> >> httpd conf:
>> >>
>> >> NameVirtualHost mysite.com:443
>> >> <VirtualHost mysite.com:443>
>> >> ProxyPreserveHost On
>> >> ProxyRequests off
>> >> ProxyPass / http://10.19.72.100:8080/
>> >> ProxyHTMLURLMap http://10.19.72.100:8080 /
>> >> <Location />
>> >>         ProxyPassReverse http://10.19.72.100:8080/
>> >>         ProxyHTMLEnable On
>> >>         ProxyHTMLURLMap  /      /
>> >>         RequestHeader    unset  Accept-Encoding
>> >> </Location>
>> >> [SSL directive...]
>> >>
>> >> When I digit
>> >> https://mysite.com it becomes http://mysite.com because I think that
>> hte
>> >> 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 need to this set).
>> >>
>> >> any idea?
>> >> many thanks, as usual.
>> >>
>> >> Cheers,
>> >> Mauri
>> >
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
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 /
<Location />
        ProxyPassReverse http://10.19.72.100:8080/
        ProxyHTMLEnable On
        ProxyHTMLURLMap  /      /
        RequestHeader    unset  Accept-Encoding
</Location>
[...]

but It don't work in my httpd-2.2.3-31. The error is below in my previous
mail.

Cheers,
Mauri


2010/4/23 GB GB <gb...@gmail.com>

> 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 <la...@gmail.com> wrote:
> >
> > Someone can help me?
> >
> > cheers,
> > Mauri
> >
> >
> > 2010/4/22 Mauri <la...@gmail.com>
> >>
> >> Hi experts,
> >>
> >> this is my scenario:  https://miosito.com --> mod_proxy -->
> >> http://10.19.72.100:8080/ (tomcat)
> >>
> >> httpd conf:
> >>
> >> NameVirtualHost mysite.com:443
> >> <VirtualHost mysite.com:443>
> >> ProxyPreserveHost On
> >> ProxyRequests off
> >> ProxyPass / http://10.19.72.100:8080/
> >> ProxyHTMLURLMap http://10.19.72.100:8080 /
> >> <Location />
> >>         ProxyPassReverse http://10.19.72.100:8080/
> >>         ProxyHTMLEnable On
> >>         ProxyHTMLURLMap  /      /
> >>         RequestHeader    unset  Accept-Encoding
> >> </Location>
> >> [SSL directive...]
> >>
> >> When I digit
> >> https://mysite.com it becomes http://mysite.com because I think that
> hte
> >> 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 need to this set).
> >>
> >> any idea?
> >> many thanks, as usual.
> >>
> >> Cheers,
> >> Mauri
> >
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by GB GB <gb...@gmail.com>.
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 <la...@gmail.com> wrote:
>
> Someone can help me?
>
> cheers,
> Mauri
>
>
> 2010/4/22 Mauri <la...@gmail.com>
>>
>> Hi experts,
>>
>> this is my scenario:  https://miosito.com --> mod_proxy -->
>> http://10.19.72.100:8080/ (tomcat)
>>
>> httpd conf:
>>
>> NameVirtualHost mysite.com:443
>> <VirtualHost mysite.com:443>
>> ProxyPreserveHost On
>> ProxyRequests off
>> ProxyPass / http://10.19.72.100:8080/
>> ProxyHTMLURLMap http://10.19.72.100:8080 /
>> <Location />
>>         ProxyPassReverse http://10.19.72.100:8080/
>>         ProxyHTMLEnable On
>>         ProxyHTMLURLMap  /      /
>>         RequestHeader    unset  Accept-Encoding
>> </Location>
>> [SSL directive...]
>>
>> When I digit
>> https://mysite.com it becomes http://mysite.com because I think that hte
>> 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 need to this set).
>>
>> any idea?
>> many thanks, as usual.
>>
>> Cheers,
>> Mauri
>

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


[users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
Someone can help me?

cheers,
Mauri


2010/4/22 Mauri <la...@gmail.com>

> Hi experts,
>
> this is my scenario:  https://miosito.com --> mod_proxy -->
> http://10.19.72.100:8080/ (tomcat)
>
> httpd conf:
>
> NameVirtualHost mysite.com:443
> <VirtualHost mysite.com:443>
> ProxyPreserveHost On
> ProxyRequests off
> ProxyPass / http://10.19.72.100:8080/
> ProxyHTMLURLMap http://10.19.72.100:8080 /
> <Location />
>         ProxyPassReverse http://10.19.72.100:8080/
>         ProxyHTMLEnable On
>         ProxyHTMLURLMap  /      /
>         RequestHeader    unset  Accept-Encoding
> </Location>
> [SSL directive...]
>
> When I digit
> https://mysite.com it becomes http://mysite.com because I think that hte
> 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 need to this set).
>
> any idea?
> many thanks, as usual.
>
> Cheers,
> Mauri

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Jonas Eckerman <jo...@frukt.org>.
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...

On 2010-04-26 16:15, Mauri wrote:

 > <Location />
 >   ProxyPassReverse http://10.19.72.127:8080/

Your ProxyPassReverse directive tells the proxy to rewrite 
"http://10.19.72.127:8080/" in some headers.

 > HTTP/1.1 302 Moved Temporarily
 > Location: http://mysite.com/arsys/shared/login.jsp?/arsys/

The location header URL starts with "http://mysite.com/".

Is that an incorrectly rewritten URL, or does the backend use 
"http://mysite.com/" (which does not match "http://10.19.72.127:8080/") 
in headers?

It would be good to know what the the corresponding result would be when 
you do the request directly to the backend.

What's the complete answer for
<http://10.19.72.127:8080/arsys/>
?

/Jonas

-- 
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.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


Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
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
ProxyPreserveHost On, I think...

Many thanks to all.

Cheers,
Mauri


2010/4/26 Tom Evans <te...@googlemail.com>

> On Mon, Apr 26, 2010 at 3:15 PM, Mauri <la...@gmail.com> 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 thanks.
> >
> > Cheers,
> > Mauri
> >
> > ----------------------------------------------------------
> > https://mysite.com/arsys/
> >
> > GET /arsys/ HTTP/1.1
> > Host: mysite.com
> > User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100115
> > Firefox/3.6
> > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> > Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
> > Accept-Encoding: gzip,deflate
> > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > Keep-Alive: 115
> > Connection: keep-alive
> > Cookie:
> IP-Restriction-GUID="84e039146ac96dec:-54437c22:1283941439a:-7fd1"
> >
> > HTTP/1.1 302 Moved Temporarily
> > Date: Mon, 26 Apr 2010 14:02:09 GMT
> > Server: Apache-Coyote/1.1
> > Location: http://mysite.com/arsys/shared/login.jsp?/arsys/
>
> ^^^^^^^^^^
>
> Apache did not generate that redirect, your backend application did.
> Nothing apache can do about your backend being daft. Get your backend
> to generate relative urls, or to use the incoming host header to
> generate absolute urls, or get it to generate absolute using the same
> name you address it by in the config.
>
> I'll explain again what ProxyPassReverse does, with this configuration
> <Location />
>  ProxyPass http://10.19.72.127:8080/
>  ProxyPassReverse http://10.19.72.127:8080/
> </Location>
>
> Your backend generates a 302 response, with a header
> Location: http://10.19.72.127:8080/foo/bar/
>
> The proxy sees this and replaces the proxied URL
> (http://10.19.72.127:8080/) with the location specified in apache (/).
> Location: /foo/bar/
>
> It then generates a canonical URL with the requested host name /
> server name (depending on the value of UseCanonicalName), which is
> what the client sees:
> Location: https://mysite.com/foo/bar/
>
> Your backend is generating this header:
> Location: http://mysite.com/arsys/shared/login.jsp?/arsys/
>
> This doesn't match the ProxyPassReverse, so doesn't get rewritten.
>
> I can't be any clearer than this. I hope this helps you.
>
> Tom
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Tom Evans <te...@googlemail.com>.
On Mon, Apr 26, 2010 at 3:15 PM, Mauri <la...@gmail.com> 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 thanks.
>
> Cheers,
> Mauri
>
> ----------------------------------------------------------
> https://mysite.com/arsys/
>
> GET /arsys/ HTTP/1.1
> Host: mysite.com
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100115
> Firefox/3.6
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Cookie: IP-Restriction-GUID="84e039146ac96dec:-54437c22:1283941439a:-7fd1"
>
> HTTP/1.1 302 Moved Temporarily
> Date: Mon, 26 Apr 2010 14:02:09 GMT
> Server: Apache-Coyote/1.1
> Location: http://mysite.com/arsys/shared/login.jsp?/arsys/

^^^^^^^^^^

Apache did not generate that redirect, your backend application did.
Nothing apache can do about your backend being daft. Get your backend
to generate relative urls, or to use the incoming host header to
generate absolute urls, or get it to generate absolute using the same
name you address it by in the config.

I'll explain again what ProxyPassReverse does, with this configuration
<Location />
  ProxyPass http://10.19.72.127:8080/
  ProxyPassReverse http://10.19.72.127:8080/
</Location>

Your backend generates a 302 response, with a header
Location: http://10.19.72.127:8080/foo/bar/

The proxy sees this and replaces the proxied URL
(http://10.19.72.127:8080/) with the location specified in apache (/).
Location: /foo/bar/

It then generates a canonical URL with the requested host name /
server name (depending on the value of UseCanonicalName), which is
what the client sees:
Location: https://mysite.com/foo/bar/

Your backend is generating this header:
Location: http://mysite.com/arsys/shared/login.jsp?/arsys/

This doesn't match the ProxyPassReverse, so doesn't get rewritten.

I can't be any clearer than this. I hope this helps you.

Tom

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


Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
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

----------------------------------------------------------
https://mysite.com/arsys/

GET /arsys/ HTTP/1.1
Host: mysite.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100115
Firefox/3.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: IP-Restriction-GUID="84e039146ac96dec:-54437c22:1283941439a:-7fd1"

HTTP/1.1 302 Moved Temporarily
Date: Mon, 26 Apr 2010 14:02:09 GMT
Server: Apache-Coyote/1.1
Location: http://mysite.com/arsys/shared/login.jsp?/arsys/
Content-Length: 0
Set-Cookie: JSESSIONID=B1A3E37C4BA0882B288AB46596E18BA4; Path=/arsys
Set-Cookie: q=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: LB-COOKIE=rd30o00000000000000000000ffff0a134864o8080; path=/
Connection: close
Content-Type: text/plain; charset=UTF-8
----------------------------------------------------------


2010/4/26 Tom Evans <te...@googlemail.com>

> On Mon, Apr 26, 2010 at 2:11 PM, Mauri <la...@gmail.com> 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 redirected to http://mysite.com
>
> Because your proxied application tells it to do so. The only apache
> directive that affects redirects from proxies is the ProxyPassReverse
> directive. Basically it says 'if you see a redirect like
> '${A}/blah/blah/', change it to ${B}/blah/blah/'.
>
> Your ProxyPassReverse says to replace http://10.19.72.127:8080/ with
> https://mysite.com/ .
>
> If you think that apache is somehow doing this redirect, please show
> some evidence, eg browser header logs from livehttpheaders, or a
> complete tcpdump on the proxy showing http traffic from the client to
> the proxy, from the proxy to the backend, from the backend back to the
> proxy and from the proxy back to the client.
>
> Tom
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] Re: ProxyPreserveHost On

Posted by Tom Evans <te...@googlemail.com>.
On Mon, Apr 26, 2010 at 2:11 PM, Mauri <la...@gmail.com> 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 redirected to http://mysite.com

Because your proxied application tells it to do so. The only apache
directive that affects redirects from proxies is the ProxyPassReverse
directive. Basically it says 'if you see a redirect like
'${A}/blah/blah/', change it to ${B}/blah/blah/'.

Your ProxyPassReverse says to replace http://10.19.72.127:8080/ with
https://mysite.com/ .

If you think that apache is somehow doing this redirect, please show
some evidence, eg browser header logs from livehttpheaders, or a
complete tcpdump on the proxy showing http traffic from the client to
the proxy, from the proxy to the backend, from the backend back to the
proxy and from the proxy back to the client.

Tom

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


[users@httpd] Re: ProxyPreserveHost On

Posted by Mauri <la...@gmail.com>.
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
<VirtualHost mysite.com:443>
ServerName mysite.com
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://10.19.72.127:8080/
ProxyHTMLURLMap http://10.19.72.127:8080 /
<Location />
        ProxyPassReverse http://10.19.72.127:8080/
        ProxyHTMLEnable On
        ProxyHTMLURLMap  /      /
        RequestHeader    unset  Accept-Encoding
</Location>

Many thanks for any suggest.
Cheers,
Mauri





2010/4/22 Mauri <la...@gmail.com>

> Hi experts,
>
> this is my scenario:  https://miosito.com --> mod_proxy -->
> http://10.19.72.100:8080/ (tomcat)
>
> httpd conf:
>
> NameVirtualHost mysite.com:443
> <VirtualHost mysite.com:443>
> ProxyPreserveHost On
> ProxyRequests off
> ProxyPass / http://10.19.72.100:8080/
> ProxyHTMLURLMap http://10.19.72.100:8080 /
> <Location />
>         ProxyPassReverse http://10.19.72.100:8080/
>         ProxyHTMLEnable On
>         ProxyHTMLURLMap  /      /
>         RequestHeader    unset  Accept-Encoding
> </Location>
> [SSL directive...]
>
> When I digit
> https://mysite.com it becomes http://mysite.com because I think that hte
> 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 need to this set).
>
> any idea?
> many thanks, as usual.
>
> Cheers,
> Mauri