<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Daniel,<div class=""><br class=""></div><div class="">hab mir das mal angesehen und kann dem nicht so recht folgen. Eine Name-Based-Subdomain würde, soweit ich das recherchiert und verstanden habe, einen zweiten DNS-Hostname erzwingen.</div><div class="">Da ich den server aber nur lokal ohne DNS-Registrierung verwende, müsste ich an jedem Client ein Local Hosts File anlegen und die Domains bekannt machen. Der WEB-Server hat nur einen IP.</div><div class=""><br class=""></div><div class="">Also hoffte ich, Port-Based würde vielleicht hinhauen:</div><div class=""><pre class="lang-config prettyprinted prettyprint" style="font-family: "Courier New", Courier, monospace; padding: 0.5em; border: none; tab-size: 4; overflow: auto hidden; background-color: rgb(229, 236, 243); margin: 1em 2em 1em 1em; font-size: 14px;"><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Listen 80</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Listen 8081</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><VirtualHost <lokaler hostname>:80></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(46, 174, 187);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#    ServerName <a href="http://www.example.com" class="">www.example.com</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ServerAdmin webmaster@localhost</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        DocumentRoot "/var/www/<a href="http://volkszaehler.org" class="">volkszaehler.org</a>"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ErrorLog ${APACHE_LOG_DIR}/error.log</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        CustomLog ${APACHE_LOG_DIR}/access.log combined</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></VirtualHost></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><VirtualHost <lokaler hostname>:8081></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(46, 174, 187);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">#    ServerName <a href="http://www.example.com" class="">www.example.com</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ServerAdmin webmaster@localhost</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        DocumentRoot "/var/www/<a href="http://volkszaehler.org/highcharts" class="">volkszaehler.org/highcharts</a>"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ErrorLog ${APACHE_LOG_DIR}/error.log</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        CustomLog ${APACHE_LOG_DIR}/access.log combined</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></VirtualHost></span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; min-height: 16px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(46, 174, 187);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># vim: syntax=apache ts=4 sw=4 sts=4 sr noet</span></div>
</pre><div>Aber damit läßt sich apache2 nicht mehr starten:</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ sudo a2dissite 000-default.conf</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ sudo a2ensite highcharts.conf</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">$ </span></span>sudo systemctl reload apache2</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Job for apache2.service failed.</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>See "systemctl status apache2.service" and "journalctl -xe" for details.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class="">Und das ist klar: </font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class=""><br class=""></font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Oct 31 11:30:15 ecoRaspi04 apachectl[2635]: AH00526: Syntax error on line 1 of /etc/apache2/sites-enabled/highcharts.conf:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Oct 31 11:30:15 ecoRaspi04 apachectl[2635]: Cannot <font color="#ff2600" class="">define multiple Listeners</font> on the same IP:port</span></div></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class=""><br class=""></font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Arial" class="">Zweimal Listen geht nicht!</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class="">Hab ich eine Chance, das anderweitig hinzukriegen?</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class=""><br class=""></font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class="">Vielen Dank</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Arial" class="">Armin</font></span></div></div><div><br class=""><blockquote type="cite" class=""><div class="">Am 29.10.2021 um 17:36 schrieb Daniel Lauckner <<a href="mailto:vz@jahp.de" class="">vz@jahp.de</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hallo,<br class=""><br class=""><br class="">am Freitag, 29. Oktober 2021 um 17:16 hat applicationMGR ecoCuyo geschrieben:<br class=""><blockquote type="cite" class="">hast insofern recht, dass mit Andres Format die capabilities angezeigt werden.<br class="">Um Highcharts unter dem Pfad ~/<a href="http://volkszaehler.org/htdocs/highcharts/index.php" class="">volkszaehler.org/htdocs/highcharts/index.php</a> wieder ans Fliegen zu kriegen, fehlt mir noch etwas.<br class=""></blockquote><br class="">Das geht nicht weil alles nach IP:80/ auf den PHP-PM unter IP:8080 umgeleitet wird. Ein unter ~/<a href="http://volkszaehler.org/htdocs/" class="">volkszaehler.org/htdocs/</a> angelegtes Unterverzeichnis wird von dem aber nicht berücksichtigt.<br class=""><br class="">Die sauberste Lösung wäre den vz in ein Unterverzeichnis zu legen oder Highcharts unter Subdomain vom Apache bearbeiten zu lassen.<br class=""><br class=""><blockquote type="cite" class="">Früher waren da Symlinks mit drin…<br class=""></blockquote><br class="">Werden global definiert in /etc/apache2/apache2.conf<br class=""><br class=""><br class="">mfg Daniel<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>