Hallo,
ich bin neu hier und hoffe auf eure Hilfe.
Ich habe eine Homepage welche mit apache2 realisiert wurde. (Port 80)
Habe noch einen zweite welche auf dem Port 8083 (FHEM) reagiert.
Ich möchte das beide Seiten unter einer Domäne zusammenfassen.
Sprich die mit Port 8083 im Pfad der ersten eingebunden wird.
Habe rausbekommen das dafür das Modul mod_proxy ideal ist.
Ich habe dazu eine Beispiel Konfiguration im Netz gefunden und angepasst.
Leider funkt es nicht richtig.
Packet installiert
sudo apt-get install libapache2-mod-proxy-html
Module gestartet:
sudo a2enmod proxy
sudo a2enmod proxy_html
sudo a2enmod proxy_http
Hier die apache2.conf
********************************
<VirtualHost *>
ProxyRequests on
ProxyVia On
<Proxy *>
Order deny, allow
Allow from all
</Proxy>
ProxyPass /fhem http://127.0.0.1:8083/
ProxyPassReverse /fhem http://127.0.0.1:8083/
</VirtualHost>
********************************
Ich hoffe es hat jemand eine Idee was ich falsch mache.
Gruß
wolf4124