Hauptmenü

Apache https Tablet ui

Begonnen von mani, 27 Juli 2019, 22:32:28

Vorheriges Thema - Nächstes Thema

amenomade

Jetzt weiss ich nicht mehr wo Du bist. Wieder auf die Konfig wie im ersten Post?
Zitatunter https die index.php läuft und alle iframes nicht
Was kommt als Fehlermeldung in der Console des Browsers? (F12)
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

mani

Hallo so habs geschafft  ;D

musste die Zeile <meta name="fhemweb_url" content="http://xxxxxxxx:8083/fhem/"> in der php enfernen...

und meine Apache.config sieht jetzt so aus
        # Enables outgoing compression for specific file types
        <IfModule mod_deflate.c>
                <FilesMatch ".*\.(html|htm|shtml|php|css|js|xml|log|txt|bmp|ttf|otf|eot|svg)$">
                   SetOutputFilter DEFLATE
                </FilesMatch>
            AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
            AddOutputFilterByType DEFLATE application/rss+xml
            AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml text/x-com$
            AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-java$
        </IfModule>
        <Location /fhem>
                RewriteEngine On
                RewriteCond %{HTTP:Upgrade} =websocket [NC]
                RewriteRule /fhem(.*)       ws://localhost:8083/fhem$1 [P,L]
                RewriteCond %{HTTP:Upgrade} !=websocket [NC]
                RewriteRule /fhem(.*)       http://localhost:8083/fhem$1 [P,L]

                ProxyPass http://localhost:8083/fhem
                ProxyPassReverse http://localhost:8083/fhem
        # ProxyHTMLURLMap passt Links im HTML/JavaScript Source an
                ProxyHTMLURLMap /        /fhem/
                ProxyHTMLURLMap /fhem/   /fhem/

                Order deny,allow
                Allow from all
      </Location>
</VirtualHost>



Mfg Mani
RasPi B+,Onkyo_AVR,Luxtronik2,Logo7,Mpd,Arduino Uno mit Ethernet,KNX,Jablotron

amenomade

#32
Wow... ok. Sowas hätte ich selbst nicht geschafft, zumindest auf der Konfiguration von einem anderen, ohne selbst experimentieren zu können.

Bravo :)

Ich vermute Du hast dann longpoll auf websocket?

Nur eine Frage: die erste Zeile mit ProxyHTMLURLMap verstehe ich nicht. Werden die Skripte direkt aus / gerufen, obwohl die in fhem liegen?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

mani

 ja richtig Longpoll ist auf websocket

die Apache.config hab ich hier gefunden  "Apache Authentication Proxy nach Wikibeitrag funzt nicht"

danke an  a-p-s

bis jetzt geht alles ;)


Mfg
RasPi B+,Onkyo_AVR,Luxtronik2,Logo7,Mpd,Arduino Uno mit Ethernet,KNX,Jablotron

twinFHEM

Hallo mani,

bringt der Umzug auf den Apache auch eine bessere Performance?
Wie hast Du Tablet UI vorher genutzt? Als HTTPSRV-Device oder einfach über FHEMWEB?

Gruß,
twin