Configure Apache to see the WeeWX reports.
If WeeWX was installed from DEB or RPM package, no configuration should be necessary since the reports are placed in the directory /var/www/html/weewx, which is in the Apache DocumentRoot directory /var/www/html
If WeeWX was installed using setup.py, you must tell Apache where to find the WeeWX reports. One method is to install an Apache configuration snippet:
sudo cp util/apache/conf.d/weewx.conf /etc/apache2/conf.d
Be sure that the path in the Apache configuration snippet matches the HTML_ROOT defined in the WeeWX configuration file. For example, the path for a default setup.py installation would look like this:
Alias /weewx /home/weewx/public_html <Directory /home/weewx/public_html> Options FollowSymlinks AllowOverride None </Directory>
Restart Apache to make the changes happe
I loaded from the DEB package but as stated above "no further configuration is needed , But I see the Apache default web page at my URL. I assume I need to reconfig a path or file name.
The requested URL was not found on this server.
May 13 16:32:29 weewx weewx[6603] CRITICAL __main__: **** ValueError: invalid literal for float(): 28.275153 -97.464723
It looks like you have specified both latitude and longitude for latitude. Edit weewx.conf, fix the error, save weewx.conf and restart WeeWX. Then see if there are any further errors in the log.
Gary
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/B145BD70-49DD-4F81-87FE-3932027A5FF0%40yahoo.com.
Gary
On May 13, 2020, at 5:25 PM, Dave Webb KB1PVH <kb1...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAEMY9Ffpy2es2uGC9ZZ6s9b4arBv3BPqPYZQD28kX8x5RzLjXA%40mail.gmail.com.
Gary