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_htmlRestart Apache to make the changes happen:
sudo /etc/init.d/apache2 restart
---------------------------------------------------------------
Do I need to edit the /etc/apache2/apache2.conf file in this section?:
# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>
If anyone can help figure out what is wrong I would appreciate it. Console is Vantage. Let me know if I did not provide enough info...
Thanks,
Jimmy
This is a new install using the python tool setup.py method... After installing weewx and apache2 and browsing to it, I am seeing the /var/www/html/index.html page instead of the /home/weewx/public_html/index.html page.
The requested URL was not found on this server.
Apache/2.4.38 (Raspbian) Server at kirklabs.com Port 80