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/f4c1369c-1246-664e-9474-82338b8ff322%40gmail.com.

Reply via email to