apache2 ist eigentlich kein Problem - nur die Berechtigungen für die
weewx Reportdateien müssen stimmen.
Das ist ein chmod-Befehl (chmod -R 755) für das Report-Verzeichnis, der
Apache Zugriff darauf gibt.
Da braucht in der Konfiguration (.conf) für den Betrieb von weewx
eigentlich nichts eingestellt zu werden.
Aber am Ende des Tages ist es für weewx egal, welcher Webserver im
Einsatz ist (apache2, nginx, lighttpd ...).
Es ist allerdings unschädlich zu verstehen, wie ein Webserver arbeitet
und wie das dazugehörige Berechtigungskonzept funktioniert. 😎
apache2 is not really a problem - only the permissions for the directory
where the weewx reporting files reside need to be provided.
No changes in .conf files needed. No synthax to be learned.
But at the end of the day, for weewx purposes, it doesn't matter which
web server is installed (apache2, nginx, lighttpd ...)
However, no harm in understanding hiow a web server works and what
permissions need to be considered. 😎
Am 27.03.2022 um 19:27 schrieb Günther Wrana:
Hello friends After the third time I had problems with the new
installation of weewx with the web server. I don't understand the
configuration and syntax of Apache2. I now have lighttpd installed.
With this web server it worked very quickly that the Raspberry and
thus the data from the weather station were ONLINE. So my
recommendation for software laymen like me is lighttpd web server.
Hallo Freunde Nach dem ich beim dritten mal bei der neuinstallation
von weewx mit dem Webserver wieder Problem hatte. Konfiguration
Einstellen und Syntax verstehe ich bei Apache2 nicht. Habe ich jetzt
lighttpd installiert. Mit diesem Webserver hat es sehr schnell
funktioniert das der Raspberry und damit die Daten der Wetterstation
ONLINE waren. Also meine Empfehlung für Software Laien wie mich
lighttpd Webserver.
Günther Wrana schrieb am Donnerstag, 12. März 2020 um 07:19:58 UTC+1:
Hallo
was genau funktioniert nicht?
Es kommt darauf an welche Version von apache du hast.
Je nach dem musst du die .conf ändern.
Danach in den unten genannten Ordner kopieren.
Dann sudo a2enconf weewx.conf ausführen und apache neu starten.
So hat es bei mir funktioniert.
Grüße Günther
Am Dienstag, 10. März 2020 19:42:33 UTC+1 schrieb Schrauber Huber:
kannst du mir in einem kleinen kontex erklären wie das nun
hinbekommen hast?
stehe genauso da
Am Dienstag, 19. November 2019 17:45:05 UTC+1 schrieb Günther
Wrana:
Am Mittwoch, 26. Juni 2019 17:34:43 UTC+2 schrieb Günther
Wrana:
Es hat funktioniert nur muss die weewx.conf nicht
so wie hier beschrieben.
http://www.weewx.com/docs/usersguide.htm#If_the_server_is_on_the_same_machine
Hier her kopiert werden.
sudo cp util/apache/conf.d/weewx.conf /etc/apache2/conf.d
Sondern hier her sudo cp util/apache/conf.d/weewx.conf
/etc/apache2/conf-available
Danach habe ich diesen Befehl ausgeführt sudo a2enconf
weewx.conf und dann apache2 neugestrartet.
Und siehe da ich kann plötzlich von meinem Rechner
unter Angabe der IP Adresse 192.168.0.100/weewx
<http://192.168.0.100/weewx> auf die Datenbank und die
index.html auf dem Raspberry zugreifen.
Danke an alle die mir geholfen haben.
Es muss auch die weewx.conf richtig sein.
Bei Apache 2.2
|Alias /weewx /home/weewx/public_html <Directory
/home/weewx/public_html> Options FollowSymlinks
AllowOverride None Order allow,deny Allow from all |
</Directory>
Bei Apache 2.4
|Alias /weewx /home/weewx/public_html <Directory
/home/weewx/public_html> Options FollowSymlinks
AllowOverride None Require all granted </Directory>|
|Dann funktioniert das auch.|
--
You received this message because you are subscribed to the Google
Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/af36bef5-0d9c-4230-a7e1-45b3c0b52597n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/af36bef5-0d9c-4230-a7e1-45b3c0b52597n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/7a73e739-0e91-f9e1-ceda-d97e50f0f14f%40gmail.com.