You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Danie Qian <da...@bestningning.com> on 2007/12/06 22:29:36 UTC

[users@httpd] Problem runningtmod_proxy_html in httpd-2.2.x?

This is my setting:

    ProxyHTMLLogVerbose On
    LogLevel Debug

    ProxyPass /demo1/   http://www.backend-site.com/
    ProxyHTMLURLMap     http://www.backend-site.com /demo1

    <Location /demo1/>
        ProxyPassReverse /
        SetOutputFilter  proxy-html
        ProxyHTMLURLMap  /      /demo1/
    </Location>

>From the log I can not see the module is doing anything except crashing the 
process:

[Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): proxy: start body 
send
[Thu Dec 06 16:23:27 2007] [info] [client 69.77.163.58] Content-Type is 
text/html; charset=UTF-8
[Thu Dec 06 16:23:27 2007] [info] [client 69.77.163.58] Got charset UTF-8 
from HTTP headers
[Thu Dec 06 16:23:28 2007] [notice] child pid 26785 exit signal Segmentation 
fault (11)


Has anyone got it to work in httpd-2.2.x?

Thanks 


---------------------------------------------------------------------
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] Problem runningtmod_proxy_html in httpd-2.2.x?

Posted by Danie Qian <da...@bestningning.com>.
>> This is my setting:
>> 
>>     ProxyHTMLLogVerbose On
>>     LogLevel Debug
>> 
>>     ProxyPass /demo1/   http://www.backend-site.com/
>>     ProxyHTMLURLMap     http://www.backend-site.com /demo1
>> 
>>     <Location /demo1/>
>>         ProxyPassReverse /
>>         SetOutputFilter  proxy-html
>>         ProxyHTMLURLMap  /      /demo1/
>>     </Location>
>> 
>> From the log I can not see the module is doing anything 
>> except crashing the
>> process:
>> 
>> [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): 
>> proxy: start body send [Thu Dec 06 16:23:27 2007] [info] 
>> [client 69.77.163.58] Content-Type is text/html; 
>> charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client 
>>> 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 
>> 16:23:28 2007] [notice] child pid 26785 exit signal 
>> Segmentation fault (11)
>> 
>> 
>> Has anyone got it to work in httpd-2.2.x?

>What platform are you using? Indeed Apache goes in error often until I
>have installed Visual C++ 2005 SP1 Redistributable Package (I've
>dowloaded mod_proxy_html binaries from
>http://www.apachelounge.com/download/).

>Please note that I'm using Windows XP. 

I have fixed the problem by adding these lines:

        ProxyHTMLLinks  a               href
        ProxyHTMLLinks  area            href
        ProxyHTMLLinks  link            href
        ProxyHTMLLinks  img             src longdesc usemap
        ProxyHTMLLinks  object          classid codebase data usemap
        ProxyHTMLLinks  q               cite
        ProxyHTMLLinks  blockquote      cite
        ProxyHTMLLinks  ins             cite
        ProxyHTMLLinks  del             cite
        ProxyHTMLLinks  form            action
        ProxyHTMLLinks  input           src usemap
        ProxyHTMLLinks  head            profile
        ProxyHTMLLinks  base            href
        ProxyHTMLLinks  script          src for

I am running on Linux. thanks for the reply.



---------------------------------------------------------------------
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] Problem runningtmod_proxy_html in httpd-2.2.x?

Posted by Rocco Scappatura <Ro...@sttspa.it>.
> This is my setting:
> 
>     ProxyHTMLLogVerbose On
>     LogLevel Debug
> 
>     ProxyPass /demo1/   http://www.backend-site.com/
>     ProxyHTMLURLMap     http://www.backend-site.com /demo1
> 
>     <Location /demo1/>
>         ProxyPassReverse /
>         SetOutputFilter  proxy-html
>         ProxyHTMLURLMap  /      /demo1/
>     </Location>
> 
> From the log I can not see the module is doing anything 
> except crashing the
> process:
> 
> [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): 
> proxy: start body send [Thu Dec 06 16:23:27 2007] [info] 
> [client 69.77.163.58] Content-Type is text/html; 
> charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client 
> 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 
> 16:23:28 2007] [notice] child pid 26785 exit signal 
> Segmentation fault (11)
> 
> 
> Has anyone got it to work in httpd-2.2.x?

What platform are you using? Indeed Apache goes in error often until I
have installed Visual C++ 2005 SP1 Redistributable Package (I've
dowloaded mod_proxy_html binaries from
http://www.apachelounge.com/download/).

Please note that I'm using Windows XP. 

rocsca

 

---------------------------------------------------------------------
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] Problem runningtmod_proxy_html in httpd-2.2.x?

Posted by Rocco Scappatura <Ro...@sttspa.it>.
> This is my setting:
> 
>     ProxyHTMLLogVerbose On
>     LogLevel Debug
> 
>     ProxyPass /demo1/   http://www.backend-site.com/
>     ProxyHTMLURLMap     http://www.backend-site.com /demo1
> 
>     <Location /demo1/>
>         ProxyPassReverse /
>         SetOutputFilter  proxy-html
>         ProxyHTMLURLMap  /      /demo1/
>     </Location>
> 
> From the log I can not see the module is doing anything 
> except crashing the
> process:
> 
> [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): 
> proxy: start body send [Thu Dec 06 16:23:27 2007] [info] 
> [client 69.77.163.58] Content-Type is text/html; 
> charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client 
> 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 
> 16:23:28 2007] [notice] child pid 26785 exit signal 
> Segmentation fault (11)
> 
> 
> Has anyone got it to work in httpd-2.2.x?

I'm using apache 2.2.6 and it works..

rocsca

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