Looks like a rights issue with Apache. Find the apache.conf file and you
probably need to enable access to the right directories.

On Fri, Apr 26, 2024 at 6:26 AM Remy Lavabre <remy.lava...@gmail.com> wrote:

> Hello,
>
> 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:
> :
>
>
>
>
> *ForbiddenYou don't have permission to access this resource.Apache/2.4.59
> (Debian) Server at xxx.xxx.xxx.xxx Port 80*
>
> I 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! ;-)
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/1deda7f3-fa1e-4ab8-8ef7-a7b561fa9ffen%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/1deda7f3-fa1e-4ab8-8ef7-a7b561fa9ffen%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAA1SM2360obeEWDpbFpSGtQBAyx%2BTxnoQcp8A%3DAyTzEpCX2q5Q%40mail.gmail.com.

Reply via email to