[users@httpd] [mod_proxy_html] : returned page is empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux