When I set up my station, I had all kinds of trouble getting Apache to get the right rights and permissions. I ended up moving the weewx publichtml directory to where Apache worked rather than the other way around.
On Sun, Mar 1, 2020 at 3:18 PM rich T <storm01...@gmail.com> wrote: > Check out the following link: http://www.weewx.com/docs/usersguide.htm , > it gives information where all the files are located for different types of > installations. > > I used the "setup.py" method to install, so the apache information is for > the setup.py method. > > On Sunday, March 1, 2020 at 6:01:37 PM UTC-5, Matthew Van Arsdale wrote: > >> I did not have those folders, were they supposed to be created >> automatically somewhere or is the tutorial I'm following wrong? >> >> Should my code be exactly be under >> Alis /weewx/home/weewx/public_html >> >> If my Weewx directory is located in /etc/ ? >> >> On Sunday, March 1, 2020 at 10:53:05 AM UTC-5, rich T wrote: >>> >>> Are you still getting this error: >>> >>> >>> Forbidden >>> >>> You don't have permission to access this resource. >>> ------------------------------ >>> Apache/2.4.38 (Raspbian) Server at 192.168.1.31 Port 80 >>> >>> Do you have the folding file in these folders: >>> >>> /etc/apache2/conf-available/weewx.conf >>> /etc/apache2/conf-enabled/weewx.conf >>> >>> This conf file should contain the following: >>> >>> +++++++++++++++++++++++++++++++++++++++ >>> >>> Alias /weewx /home/weewx/public_html >>> <Directory /home/weewx/public_html> >>> Options FollowSymlinks >>> AllowOverride None >>> # for apache 2.2 >>> Order allow,deny >>> Allow from all >>> # for apache 2.4 >>> Require all granted >>> </Directory> >>> >>> +++++++++++++++++++++++++++++++++++++++++ >>> >>> If you need to update or add the files, need to restart apache server. >>> >>> On Sunday, March 1, 2020 at 10:37:01 AM UTC-5, Matthew Van Arsdale wrote: >>> >>>> thank you, >>>> >>>> Now that thats fixed I'm having problems with weewx.html >>>> >>>> On Sunday, March 1, 2020 at 1:03:13 AM UTC-5, gjr80 wrote: >>>>> >>>>> Hi, >>>>> >>>>> Re altitude the format for the altitude setting is: >>>>> >>>>> altitude = value, unit >>>>> >>>>> where unit is foot or meter. You will find in settings, units etc >>>>> WeeWX use singular units; so foot not feet, meter not meters etc. In your >>>>> case you want: >>>>> >>>>> altitude = 623, foot >>>>> >>>>> Gary >>>>> >>>>> -- > 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/b931d10b-8348-4287-b07f-f1dab2166698%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/b931d10b-8348-4287-b07f-f1dab2166698%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/CAA1SM22Mk%2BfyobOxp56NWW5jh1idQm28zj8us%3DndjCXsU%2BW6Ww%40mail.gmail.com.