Symantec Access Management

 View Only
Expand all | Collapse all

Using Apache Revproxy with VirtualHost having different HttpHeaderEncodings

  • 1.  Using Apache Revproxy with VirtualHost having different HttpHeaderEncodings

    Posted Sep 05, 2016 10:16 AM

    Hello,

     

    I have a need for setting the HTTPHeaderEncoding to "utf-8,rfc-2047" on some sites that is protected behind a apache RevProxy, while I do not want to interfere with other sites that want "iso8859-1".

     

     

     

    <VirtualHost *:80>

    #Needs HttpHeaderEncoding="utf-8,rfc-2047"

            ServerName host1

            ProxyVia full

            ProxyPass / http://host1/

            ProxyPassReverse / http://host1/

    </VirtualHost>

    <VirtualHost *:80>

    #Needs HttpHeaderEncoding="iso8859-1"

            ServerName host2

            ProxyVia full

            ProxyPass / http://host2/

            ProxyPassReverse / http://host2/

    </VirtualHost>

     

    Do anyone know if this is doable ?

     

     

     



  • 2.  Re: Using Apache Revproxy with VirtualHost having different HttpHeaderEncodings
    Best Answer

    Posted Sep 05, 2016 06:19 PM

    Hi Per,

     

    Are you referencing ACO parameter -- HTTPHeaderEncodingSpec?

    The HTTPHeaderEncodingSpec setting affects the encoding of all HTTP header values and all custom HTTP-COOKIE responses.

     

    If you are applying this with Secure Proxy Server, virtual host can reference respective WebAgent.conf, but this is not applicable for OOTB Apache webserver.