• Problem with mod_proxy_html

    From floriang76@googlemail.com@21:1/5 to All on Tue Nov 17 02:20:20 2015
    Hi,

    i have a problem with mod_proxy_html and ProxyHTMLMeta. It seems that it just does nothing. What i want it to do is: Convert all "meta http-equiv" from a html file to real headers.

    These are the relevant lines from my config:

    LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule xml2enc_module modules/mod_xml2enc.so
    ProxyHTMLEnable On
    ProxyHTMLMeta On

    And my html file for testing is the following:

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Test" content="12345">
    </head>
    <body>
    Test
    </body>
    </html>

    If i understand this correctly, Apache should then send a response header "Test" with the value "12345". Unfortunately the header is missing and there are no error messages in the logs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to floriang76@googlemail.com on Tue Nov 17 16:51:19 2015
    In article <d706d841-7351-496d-8b27-5742498754a9@googlegroups.com>,
    <floriang76@googlemail.com> wrote:
    Hi,

    i have a problem with mod_proxy_html and ProxyHTMLMeta. It seems that it just does nothing. What i want it to do is: Convert all "meta http-equiv" from a html file to real headers.

    These are the relevant lines from my config:

    LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule xml2enc_module modules/mod_xml2enc.so
    ProxyHTMLEnable On
    ProxyHTMLMeta On

    And my html file for testing is the following:

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Test" content="12345">
    </head>
    <body>
    Test
    </body>
    </html>

    If i understand this correctly, Apache should then send a response header "Test" with the value "12345". Unfortunately the header is missing and there are no error messages in the logs.

    Do you know that you are missing the <Title></Title> sequence in your <head> section?
    --
    Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
    God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
    The function of socialism is to raise suffering to a higher level.-Norman Mailer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From floriang76@googlemail.com@21:1/5 to All on Wed Nov 18 04:35:16 2015
    Am Dienstag, 17. November 2015 17:51:21 UTC+1 schrieb The Doctor:
    In article <d706d841-7351-496d-8b27-5742498754a9@googlegroups.com>,
    <floriang76@googlemail.com> wrote:
    Hi,

    i have a problem with mod_proxy_html and ProxyHTMLMeta. It seems that it just does nothing. What i want it to do is: Convert all "meta http-equiv" from a html file to real headers.

    These are the relevant lines from my config:

    LoadModule proxy_html_module modules/mod_proxy_html.so
    LoadModule xml2enc_module modules/mod_xml2enc.so
    ProxyHTMLEnable On
    ProxyHTMLMeta On

    And my html file for testing is the following:

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Test" content="12345">
    </head>
    <body>
    Test
    </body>
    </html>

    If i understand this correctly, Apache should then send a response header "Test" with the value "12345". Unfortunately the header is missing and there are no error messages in the logs.

    Do you know that you are missing the <Title></Title> sequence in your <head> section?
    --
    Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
    God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
    http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
    The function of socialism is to raise suffering to a higher level.-Norman Mailer

    Yes, i know. It was just for testing and it makes no difference, the result is the same even with a title.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)