You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by peter pilsl <pi...@goldfisch.at> on 2005/11/10 11:47:31 UTC
[users@httpd] [mod_proxy_html] : returned page is empty
sorry, I read the manual at
http://www.apacheweek.com/features/reverseproxies and I turned on
verbose debuginfos for this module, but I just dont get it right. As
soon as I turn on the outputfilter proxy-html I get an empty page
containing of no more than
<html><body></body></html>
what do I want:
I have a existing page www.adulteducation.at/de/voev/ and I want this
subpage be accessible under der adress voev.adulteducation.at also.
so. voev.adulteducation.at/112 should show me
www.adulteducation.at/de/voev/112
My config:
<VirtualHost 62.99.149.139:80>
DocumentRoot /data/apache/knowledge
ServerName voev.adulteducation.at
SetOutputFilter proxy-html
ProxyHTMLLogVerbose On
LogLevel Debug
ProxyPass / http://www.adulteducation.at/de/voev/
ProxyHTMLURLMap http://www.adulteducation.at/de/voev/ /
<Location />
ProxyPassReverse /de/voev/
ProxyHTMLURLMap /de/voev/ /
ProxyHTMLURLMap / /
</Location>
</VirtualHost>
When I then access the page voev.adulteducation.at/112 my internal
application-logs show that www.adulteducation.at/de/voev/112 is really
processed and now the debug-logs from mod_proxy_html:
I access voev.adulteducation.at/112 and the logs show me.
[Thu Nov 10 11:42:59 2005] [debug] proxy_http.c(67): proxy: HTTP:
canonicalising URL //www.adulteducation.at/de/voev/112
[Thu Nov 10 11:42:59 2005] [debug] mod_proxy.c(418): Trying to run
scheme_handler
[Thu Nov 10 11:42:59 2005] [debug] proxy_http.c(1059): proxy: HTTP:
serving URL http://www.adulteducation.at/de/voev/112
[Thu Nov 10 11:42:59 2005] [debug] proxy_http.c(186): proxy: HTTP
connecting http://www.adulteducation.at/de/voev/112 to
www.adulteducation.at:80
[Thu Nov 10 11:42:59 2005] [debug] proxy_util.c(1139): proxy: HTTP: fam
2 socket created to connect to www.adulteducation.at
[Thu Nov 10 11:42:59 2005] [debug] proxy_http.c(336): proxy: socket is
connected
[Thu Nov 10 11:42:59 2005] [debug] proxy_http.c(370): proxy: connection
complete to 62.99.149.139:80 (www.adulteducation.at)
<internal application-logs that shows that the application is running>
[Thu Nov 10 11:43:00 2005] [debug] proxy_http.c(893): proxy: start body send
[Thu Nov 10 11:43:00 2005] [info] [client 85.124.170.93] Content-Type is
text/html; charset=UTF-8
[Thu Nov 10 11:43:00 2005] [info] [client 85.124.170.93] Got charset
UTF-8 from HTTP headers
[Thu Nov 10 11:43:00 2005] [debug] proxy_http.c(953): proxy: end body send
when I remove the mod_proxy_html-part, everthings works fine, but the
urls are not rewritten ....
thnx for any help. I mastered sendmail, I mastered urlrewrite once - I
would be very glad in getting any help in mastering mod_proxy_html ;)
thnx,
peter
and thnx to nick kew for writing this important module !!!!
--
mag. peter pilsl
goldfisch.at
IT- & dataconsulting
+43 650 357035
pilsl@goldfisch.at
---------------------------------------------------------------------
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] [mod_proxy_html] : returned page is empty
Posted by peter pilsl <pi...@goldfisch.at>.
peter pilsl wrote:
<skip>
> As
> soon as I turn on the outputfilter proxy-html I get an empty page
> containing of no more than
>
<skip>
Finally I found the solution to my problem:
The content I tried to handly with mod_proxy_html was compressed with
mod_deflate and so mod_proxy_html could not parse it.
solution:
RequestHeader unset Accept-Encoding
(as stated in the mod_proxy_html-manual, which I did not read to the
end, cause I followed the instructions step by step. yep - again reading
the manual to the end might have saved me a lot of troubles ;)
I'll start a new post to the topic cause now I dont know how to compress
the output again *AFTER* mod_proxy_html has processed the code.
thnx,
peter
--
mag. peter pilsl
goldfisch.at
IT- & dataconsulting
+43 650 3574035
pilsl@goldfisch.at
---------------------------------------------------------------------
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