Good morning,
I didn't find the answer to my problem in the various discussions on the WeeWX forum...
I installed Weewx 5 in a virtual environment.
So I have my weewx-data and weewx-venv directories in /home/---/
weewxd seems to "finally" work normally with the ~/weewx-data/public_html directory refreshing.
On version 4, the weewx public_html directory was /var/www/html/weewx ROOT:ROOT and did not pose a problem with the Apache 2 server.
Since the location of the web server changed in version 5, I put a symbolic link "weewx" in /var/www/html/ pointing to ~/weewx-data/public_html/weewx [sudo ln -s/ ~/ weewx-data/public_htmlweewx /var/www/html/weewx].
The rights of var/www/html remained ROOT:ROOT while the rights of ~/weewx-data/public_html/weewx are those of the creator.
Filezilla navigation works correctly. Clicking on the symbolic link takes you to the new WeeWX 5 public_html directory.
However, when trying to connect through a web browser (
http://xxx.xxx.xxx.xxx/weewx/index.html), I get the response:
:
Forbidden
You don't have permission to access this resource.
Apache/2.4.59 (Debian) Server at xxx.xxx.xxx.xxx Port 80I think it must just be a rights issue...?
What is the recommended solution in Weewx 5 with Apache 2 to redirect Apache from /var/www/html to ~/weewx-data/public_html?Thanks a lot for the help! ;-)