[Gelöst] apache proxy: Problem bei Darstellung von Icons mit % im Dateinamen

Begonnen von fabschub, 17 März 2017, 10:04:43

Vorheriges Thema - Nächstes Thema

fabschub

Hallo,

ich greife auf fhemweb über apache proxy zu. Dies funktioniert auch tadellos. Nur die Icons mit Prozentzeichen im Dateinamen (z. B. dim100%.png) werden nicht angezeigt. Bemerkt habe ich dies bei den Hue-Geräten, die diese Icons ja beim devStateIcon nutzen. Wenn ich ohne proxy auf fhem zugreife, dann werden die Icons korrekt dargestellt. Hat jemand eine Idee, woran das liegen könnte?

Gruß

Fabian

rudolfkoenig

Kannst du bitte in FHEMWEB den Zugriff mit "attr WEB verbose 5" protokollieren, und den Log-Ausschnitt uns mitteilen?

fabschub

Hallo Rudi,

ich habe die entsprechende Instanz von fhemweb auf verbose 5 gesetzt. Auszug aus dem Log:

2017.03.17 18:28:09 4: Connection accepted from WEB_127.0.0.1_36664
2017.03.17 18:28:09 4: WEB_127.0.0.1_36664 GET /fhem?XHR=1&inform=type=status;filter=WZ.Vitrinenlicht;since=1489771682.9529998;fmt=JSON&fw_id=1050&timestamp=1489771769872; BUFLEN:0
2017.03.17 18:28:11 3: CUL_HM set FL.Tuersummer getConfig
2017.03.17 18:28:12 4: Connection accepted from WEB_127.0.0.1_36668
2017.03.17 18:28:12 4: WEB_127.0.0.1_36668 GET /fhem?XHR=1&inform=type=status;filter=Nachtlicht_Nadine;since=1489771684.7559998;fmt=JSON&fw_id=35449&timestamp=1489771772491; BUFLEN:0
2017.03.17 18:28:22 4: Connection accepted from WEB_127.0.0.1_36690
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem?room=Wohnzimmer; BUFLEN:0
2017.03.17 18:28:22 3: harmony: IODev for device 38672098 is harmonyHubWZ
2017.03.17 18:28:22 4: WEB: /fhem?room=Wohnzimmer / RL:5797 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/style.css?v=1489771669; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/jquery-ui.min.css; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/jquery.min.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 => 304 Not Modified
2017.03.17 18:28:22 4: Connection accepted from WEB_127.0.0.1_36692
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:22 4: Connection accepted from WEB_127.0.0.1_36694
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: Connection accepted from WEB_127.0.0.1_36696
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/ios7Common.css; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_pageswap.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/dashboard_ios7.css; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/cordova-2.3.0.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/webviewcontrol.js; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/images/default/off.png; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 GET /fhem/images/default/on.png; BUFLEN:0
2017.03.17 18:28:22 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:22 4: WEB_127.0.0.1_36690 GET /fhem?XHR=1&inform=type=status;filter=room=Wohnzimmer;since=1489771701;fmt=JSON&fw_id=888&timestamp=1489771783380; BUFLEN:0
2017.03.17 18:28:29 4: Connection accepted from WEB_127.0.0.1_36706
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem?detail=WZ.Stehlampe_klein; BUFLEN:0
2017.03.17 18:28:29 4: WEB: /fhem?detail=WZ.Stehlampe_klein / RL:5278 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/jquery-ui.min.css; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: Connection accepted from WEB_127.0.0.1_36708
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 GET /fhem/pgm2/ios7Common.css; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb_pageswap.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/dashboard_ios7.css; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/cordova-2.3.0.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/webviewcontrol.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/jquery-ui.min.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/jquery.min.js; BUFLEN:0
2017.03.17 18:28:29 4: WEB_127.0.0.1_36696 GET /fhem?cmd={ReadingsVal(%22WZ.Stehlampe_klein%22,%22alert%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196; BUFLEN:0
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEB returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEBphone returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEBtablet returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_telnetPort returned dont care
2017.03.17 18:28:29 4: WEB: /fhem?cmd={ReadingsVal(%22WZ.Stehlampe_klein%22,%22alert%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196 / RL:27 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 GET /fhem?cmd={AttrVal(%22WZ.Stehlampe_klein%22,%22room%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196; BUFLEN:0
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEB returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEBphone returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_WEBtablet returned dont care
2017.03.17 18:28:29 4: authorize WEB/cmd/perl: allowed_telnetPort returned dont care
2017.03.17 18:28:29 4: WEB: /fhem?cmd={AttrVal(%22WZ.Stehlampe_klein%22,%22room%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196 / RL:39 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:29 4: WEB_127.0.0.1_36708 GET /fhem?XHR=1&inform=type=status;filter=WZ.Stehlampe_klein;since=1489771708;fmt=JSON&fw_id=892&timestamp=1489771789955; BUFLEN:0
2017.03.17 18:28:35 4: WEB_127.0.0.1_36692 POST /fhem?cmd=set%20WZ.Stehlampe_klein%20pct%2075&XHR=1&fwcsrf=csrf_788604954867196&fw_id=892; BUFLEN:0
2017.03.17 18:28:35 4: authorize WEB/cmd/set: allowed_WEB returned dont care
2017.03.17 18:28:35 4: authorize WEB/cmd/set: allowed_WEBphone returned dont care
2017.03.17 18:28:35 4: authorize WEB/cmd/set: allowed_WEBtablet returned dont care
2017.03.17 18:28:35 4: authorize WEB/cmd/set: allowed_telnetPort returned dont care
2017.03.17 18:28:35 4: authorize WEB/devicename/WZ.Stehlampe_klein: allowed_WEB returned dont care
2017.03.17 18:28:35 4: authorize WEB/devicename/WZ.Stehlampe_klein: allowed_WEBphone returned dont care
2017.03.17 18:28:35 4: authorize WEB/devicename/WZ.Stehlampe_klein: allowed_WEBtablet returned dont care
2017.03.17 18:28:35 4: authorize WEB/devicename/WZ.Stehlampe_klein: allowed_telnetPort returned dont care
2017.03.17 18:28:35 4: WEB: /fhem?cmd=set%20WZ.Stehlampe_klein%20pct%2075&XHR=1&fwcsrf=csrf_788604954867196&fw_id=892 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:38 4: Connection closed for WEB_127.0.0.1_36690: EOF
2017.03.17 18:28:48 4: Connection accepted from WEB_127.0.0.1_36748
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem?room=Wohnzimmer; BUFLEN:0
2017.03.17 18:28:48 4: WEB: /fhem?room=Wohnzimmer / RL:5786 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/pgm2/jquery-ui.min.css; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: Connection accepted from WEB_127.0.0.1_36750
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/ios7Common.css; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/pgm2/fhemweb_pageswap.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36696 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36696 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36694 GET /fhem/pgm2/cordova-2.3.0.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36694 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/dashboard_ios7.css; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/pgm2/webviewcontrol.js; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/images/default/off.png; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 GET /fhem/images/default/on.png; BUFLEN:0
2017.03.17 18:28:48 4: WEB_127.0.0.1_36748 => 304 Not Modified
2017.03.17 18:28:48 4: WEB_127.0.0.1_36694 GET /fhem?XHR=1&inform=type=status;filter=room=Wohnzimmer;since=1489771727;fmt=JSON&fw_id=897&timestamp=1489771809008; BUFLEN:0
2017.03.17 18:28:51 4: WEB_127.0.0.1_36692 GET /fhem/images/default/vdr-on.png; BUFLEN:0
2017.03.17 18:28:51 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:52 3: Lametric_at: 1
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem?detail=WZ.Stehlampe_gross; BUFLEN:0
2017.03.17 18:28:54 4: WEB: /fhem?detail=WZ.Stehlampe_gross / RL:5185 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/jquery-ui.min.css; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:54 4: Connection accepted from WEB_127.0.0.1_36770
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 GET /fhem/pgm2/ios7Common.css; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_colorpicker.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:54 4: Connection accepted from WEB_127.0.0.1_36772
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/fhemweb_knob.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 GET /fhem/pgm2/fhemweb_pageswap.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36772 GET /fhem/pgm2/fhemweb_fbcalllist.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36772 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb_readingsHistory.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/dashboard_ios7.css; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/fhemweb_readingsGroup.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 GET /fhem/pgm2/fhemweb_sortable.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36770 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36772 GET /fhem/pgm2/fhemweb_uzsu.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36772 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 GET /fhem/pgm2/fhemweb_weekprofile.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 GET /fhem/pgm2/cordova-2.3.0.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem/pgm2/webviewcontrol.js; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2017.03.17 18:28:54 4: WEB_127.0.0.1_36750 => 304 Not Modified
2017.03.17 18:28:54 4: WEB_127.0.0.1_36692 GET /fhem?cmd={ReadingsVal(%22WZ.Stehlampe_gross%22,%22alert%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196; BUFLEN:0
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEB returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEBphone returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEBtablet returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_telnetPort returned dont care
2017.03.17 18:28:54 4: WEB: /fhem?cmd={ReadingsVal(%22WZ.Stehlampe_gross%22,%22alert%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196 / RL:27 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 GET /fhem?cmd={AttrVal(%22WZ.Stehlampe_gross%22,%22room%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196; BUFLEN:0
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEB returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEBphone returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_WEBtablet returned dont care
2017.03.17 18:28:54 4: authorize WEB/cmd/perl: allowed_telnetPort returned dont care
2017.03.17 18:28:54 4: WEB: /fhem?cmd={AttrVal(%22WZ.Stehlampe_gross%22,%22room%22,%22%22)}&XHR=1&fwcsrf=csrf_788604954867196 / RL:39 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:28:54 4: WEB_127.0.0.1_36706 GET /fhem?XHR=1&inform=type=status;filter=WZ.Stehlampe_gross;since=1489771733;fmt=JSON&fw_id=889&timestamp=1489771814826; BUFLEN:0
2017.03.17 18:28:58 4: WEB_127.0.0.1_36692 POST /fhem?cmd=set%20WZ.Stehlampe_gross%20pct%2070&XHR=1&fwcsrf=csrf_788604954867196&fw_id=889; BUFLEN:0
2017.03.17 18:28:58 4: authorize WEB/cmd/set: allowed_WEB returned dont care
2017.03.17 18:28:58 4: authorize WEB/cmd/set: allowed_WEBphone returned dont care
2017.03.17 18:28:58 4: authorize WEB/cmd/set: allowed_WEBtablet returned dont care
2017.03.17 18:28:58 4: authorize WEB/cmd/set: allowed_telnetPort returned dont care
2017.03.17 18:28:58 4: authorize WEB/devicename/WZ.Stehlampe_gross: allowed_WEB returned dont care
2017.03.17 18:28:58 4: authorize WEB/devicename/WZ.Stehlampe_gross: allowed_WEBphone returned dont care
2017.03.17 18:28:58 4: authorize WEB/devicename/WZ.Stehlampe_gross: allowed_WEBtablet returned dont care
2017.03.17 18:28:58 4: authorize WEB/devicename/WZ.Stehlampe_gross: allowed_telnetPort returned dont care
2017.03.17 18:28:58 4: WEB: /fhem?cmd=set%20WZ.Stehlampe_gross%20pct%2070&XHR=1&fwcsrf=csrf_788604954867196&fw_id=889 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
2017.03.17 18:29:08 4: Connection closed for WEB_127.0.0.1_36694: EOF
2017.03.17 18:29:52 3: Lametric_at: 1
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36772
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36770
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36750
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36696
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36692
2017.03.17 18:30:47 4: Closing inactive connection WEB_127.0.0.1_36748
2017.03.17 18:30:52 3: Lametric_at: 1
2017.03.17 18:31:52 3: Lametric_at: 1
2017.03.17 18:32:52 3: Lametric_at: 1
2017.03.17 18:33:09 4: Connection closed for WEB_127.0.0.1_36664: EOF
2017.03.17 18:33:12 4: Connection closed for WEB_127.0.0.1_36668: EOF
2017.03.17 18:33:16 4: Connection accepted from WEB_127.0.0.1_37246
2017.03.17 18:33:16 4: WEB_127.0.0.1_37246 GET /fhem?XHR=1&inform=type=status;filter=Nachtlicht_Nadine;since=1489771684.7559998;fmt=JSON&fw_id=35449&timestamp=1489772073510; BUFLEN:0
2017.03.17 18:33:36 4: Connection closed for WEB_127.0.0.1_36708: EOF
2017.03.17 18:33:52 3: Lametric_at: 1
2017.03.17 18:33:59 4: Connection closed for WEB_127.0.0.1_36706: EOF
2017.03.17 18:34:00 4: Connection accepted from WEB_127.0.0.1_37332
2017.03.17 18:34:00 4: WEB_127.0.0.1_37332 GET /fhem?XHR=1&inform=type=status;filter=WZ.Stehlampe_gross;since=1489771738.263;fmt=JSON&fw_id=889&timestamp=1489772120491; BUFLEN:0


rudolfkoenig

Hast du auch die Icons dabei aufgerufen? Ich sehe keinen Aufruf fuer die Icons aus deinem vorigen Screenshot.
Aber vielleicht hat der Proxy die Aufrufe gecached. Da kann ich leider nicht helfen.

fabschub

Bitte entschuldige mich, den Aufruf der Icons hatte ich nicht im Log-Auszug. Den Log mit dem Aufruf der Icons findest du im Anhang. Ich kann beim Get kein dim#%.png finden. Warum das so ist, verstehe ich einfach nicht.

zap

Kannst Du mal dim100%.png kopieren nach dim100%%.png und es dann versuchen?

Ein % im Dateinamen ist schon uncool. Das sollte man wenn möglich vermeiden. Wie auch andere Zeichen, die bei einzelnen Betriebssystemen bzw. Filesystemen eine Sonderrolle haben.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

fabschub

Zwei Prozentzeichen machen leider keinen Unterschied. Das entsprechende Icon wird auch nicht angezeigt. Nehme ich % hingegen aus dem Dateinamen, dann wird das Icon dargestellt. Es ist auch nur ein Schönheitsfehler, mit dem ich leben könnte. Allerdings wundere ich mich, dass das noch niemandem aufgefallen ist. Ich werde ja sicher nicht der einzige sein, der apache als reverse proxy einsetzt. Meine Konfiguration für apache gleicht der im Wiki hinterlegten.

Christoph Morrison

Auf's Blaue, da du deine ARP-Konfiguration nicht und keine Versionsinfo über deinen Indianer gepostet hast:
Versuch mal ProxyPass mit dem nocanon Keyword.

fabschub

Ich nutze Debian Jessie mit der entsprechenden Apache-Version (2.4.10).

Meine /etc/apache2/sites-available/xxx.xxx.de-le-ssl.conf sieht wie folgt aus:
<IfModule mod_ssl.c>
<VirtualHost *:443>

ServerName xxx.xxx.de

ProxyRequests Off
ProxyPass / http://127.0.0.1:8083/
ProxyPassReverse / http://127.0.0.1:8083/
ProxyHTMLURLMap /        /fhem/
ProxyHTMLURLMap /fhem/     /fhem/

<Location />
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/XXX-htpasswd
Require user xXx
Order deny,allow
Allow from all
</Location>

ErrorLog ${APACHE_LOG_DIR}/fhem-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/fhem-access.log combined

SSLCertificateFile /etc/letsencrypt/live/XXX/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/XXX/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf

</VirtualHost>
</IfModule>


Auch bei folgender Änderung mit anschließendem service apache2 reload/restart werden die Icons mit % nicht angezeigt:
ProxyPass / http://127.0.0.1:8083/ nocanon

Ein kleiner Auszug aus /var/log/apache2/fhem-access.log beim Aufruf der Icons:
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim06%.png HTTP/1.1" 400 450 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim06%%.png HTTP/1.1" 400 450 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim100%.png HTTP/1.1" 400 450 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - fabschub [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim06.png HTTP/1.1" 304 224 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim12%.png HTTP/1.1" 400 450 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim18%.png HTTP/1.1" 400 450 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim31%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim37%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim25%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim43%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim50%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim62%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim56%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:16 +0100] "GET /fhem/images/default/dim68%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dim75%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dim81%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dim93%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - - [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dim87%.png HTTP/1.1" 400 587 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - fabschub [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dimdown.png HTTP/1.1" 304 362 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - fabschub [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/dimup.png HTTP/1.1" 304 362 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx - fabschub [19/Mar/2017:01:21:17 +0100] "GET /fhem/images/default/li_wht_dimmer.png HTTP/1.1" 304 224 "https://xxx.xxx.de/fhem?cmd=style%20showDSI%20WZ.Ventilator&fwcsrf=csrf_940995315055625" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36"



zap

Lies das mal:

https://superuser.com/questions/759959/why-does-the-percent-sign-in-a-url-cause-an-http-400-bad-request-error

wenn Du die Datei umbenennst in dim100%25.png könnte es funktionieren. Das Prozent scheint grundsätzlich der in o.g. Link verlinkten RFS zu widersprechen. Einzige verlässliche Lösung: Umbenennen der Grafiken in solche ohne Prozent im Dateinamen. Dürfte aber zu einem Aufschrei bei allen führen, die die Grafiken problemlos eingebunden haben.
Ich schlage for, zunächst Kopien anzulegen: dim100%.pnt => dim100pct.png
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

fabschub

An encoding hatte ich auch schon gedacht. Umbenennen in dim#%25.png bringt auch keine Besserung. Ich glaube auch, dass der einzig verlässliche Weg die Herausnahme des Prozentzeichens aus den Dateinamen wäre. Da dies bestimmt nicht nur im HUE-Modul zum Einsatz kommt, und die Icons sicher auch bei einigen Benutzern auf die ein oder andere Art zum Einsatz kommen, gibt es wahrscheinlich einiges zu bedenken. Vielleicht messen die Entwickler, die solch eine Änderung betrifft, aufgrund der etwas außergewöhnlicheren Nutzung von fhem auch keine hohe Priorität bei.

Bei Hue-Geräten wird im Standard das devStateIcon wie folgt definiert:
{(HUEDevice_devStateIcon($name),"toggle")}
So genau steige ich bei der subroutine nicht durch. Wie könnte eine eigene sub in 99_myUtils.pm aussehen, die mir das entsprechende dim-Icon ohne % im Dateinamen darstellt?

rudolfkoenig

Ich konnte das Problem reproduzieren, ich habe ein Fix eingebaut.
Getestet direkt und ueber ein Apache-Proxy.

fabschub

Hallo Rudi,

habe es soeben getestet, und es funktioniert. Problem gelöst. Tausend Dank!  :)

Gruß

Fabian