what do you get when you enter just the RaspberryPi IP address in your browser ?
you should get the standard webserver page (Apache2 Debian Default Page)
does this work ?

if so, has the folder /var/www/html/weewx been created in the first place ?
can you see the folder in the Raspi File Manager ?
has weewx written the skin files into that directory ? (there should be a lot of .png files and the index.html file)

On 22.05.2023 19:53, Peter Hurn wrote:
Thanks I tried the sudo chmod -R 755 /var/www/html/weewx suggested, still the same issue unfortunately
You don't have permission to access this resource.

On Friday, 19 May 2023 at 13:50:17 UTC+1 Rainer Lang wrote:

    did you change the permissions for weewx web folder

    /var/www/html/weewx

    or

    /home/weewx/public_html

    whichever you are using ?

    The example for the first path would be

    sudo chmod -R 755 /var/www/html/weewx

    only then the Apache webserver has the permission to read (and
    display) the /var/www/html/weewx folder content

    (for a /home/weewx installation the command would be:
    sudo chmod -R 755 /home/weewx/public_html )

    On 18.05.2023 23:48, Peter Hurn wrote:
    Hello,

    I am trying to install Weewx fresh on a Raspberry PI, running
    Debian Bullseye,
    I would like to host the website internally from the Pi,
    I have installed Apache 2.4.56 and checked the
    defaultĀ ApacheĀ page displays correctly, which it does.

    I then followed the Weewx installation which installed.

    I then followed the instructions from the wiki article /Configure
    a web server (Apache, NGINX or lighttpd)/
    
<https://github.com/weewx/weewx/wiki/Configure-a-web-server-(Apache,-NGINX-or-lighttpd)>

    The section for Apache 2.4 worked however when I try to navigate
    to the server address/weewx/ I now receive the following error.

    --------------------------------------

    Forbidden
    You don't have permission to access this resource.

    Apache/2.4.56 (Raspbian) Server at (IP) Port 80

    -----------------------------------------

    I have searched but don't seem to be having much luck resolving
    the issue, any thoughts?

    Kind regards,

    Peter.

-- 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/b43bca91-0b12-42c0-b4db-dc06cfcf1fe0n%40googlegroups.com
    
<https://groups.google.com/d/msgid/weewx-user/b43bca91-0b12-42c0-b4db-dc06cfcf1fe0n%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/eb612886-cc2a-4d0d-9c06-1486203b4c13n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/eb612886-cc2a-4d0d-9c06-1486203b4c13n%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/3c1103e5-b509-6ebc-8998-0580fb95fd8f%40gmail.com.

Reply via email to