Hallo da ich nicht genau weis wie ein Webserver arbeitet und zu konfigurieren ist habe ich alles unter diesem Link versucht.
https://github.com/weewx/weewx/wiki/Configure-a-web-server-(Apache,-NGINX-or-lighttpd) Am Ende habe ich dann eben lighttpd installiert und dort habe ich schneller heraus gefunden wie ich diesem Webserver sagen soll wo er hin sehen soll. Von diesem chmod -R 755 Befehl habe ich zwar etwas gelesen. Aber wo und warum ich diesen eingeben soll oder muss wusste ich nicht. Jedoch bin ich für neues immer dankbar. Also noch einen schönen Gruß Günther Wrana Hello since I do not know exactly how a web server works and is to be configured I have tried everything under this link. https://github.com/weewx/weewx/wiki/Configure-a-web-server-(Apache,-NGINX-or-lighttpd) In the end I just installed lighttpd and there I found out faster how to tell this web server where to look. I read something about this chmod -R 755 command. But where and why I should or must enter it I did not know. However, I am always grateful for new things. So a nice greeting Günther Wrana [email protected] schrieb am Sonntag, 27. März 2022 um 21:44:44 UTC+2: > 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 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/3bced8c1-59c9-4966-97b6-9c1efc112f80n%40googlegroups.com.
