Web server issue

88 views
Skip to first unread message

Giuseppe Iacovelli

unread,
Nov 6, 2020, 1:39:33 PM11/6/20
to weewx-user
I installed Weewx on OpenSUSE 15.1 from Suse RPM package and everything seems to work fine except:
- when I browse http: // localhost / weewx nothing appears while in file: ///var/www/html/weewx/index.html I see everything fine.
In the same server I installed Zoneminder (web control ip cam software) so I suppose Apache is correctly setup.
Any idea?
Thanks a lot

Rory Sena

unread,
Nov 14, 2020, 4:50:47 PM11/14/20
to weewx-user
Well, I have the same problem but I'm on a Pi running Buster. Did you get it working?

Greg from Oz

unread,
Nov 15, 2020, 1:10:23 AM11/15/20
to weewx-user
Maybe if you create a weewx.conf file in /etc/apache2/sites-available and call it weewx.conf

Put this in the file:

Alias /weewx "/home/weewx/public_html"
    <Directory "/home/weewx/public_html">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
        Require all granted
    </Directory>

Save the file.

 Then run sudo a2ensite weewx.conf   (this enables the site)

Then reload apache

Greg from Oz

unread,
Nov 15, 2020, 1:12:54 AM11/15/20
to weewx-user
The /home/weewx/public_html
might be
/var/www/html/weewx
depends on how you installed it.
The location will be in the weewx.conf file where is it being saved to.
Reply all
Reply to author
Forward
0 new messages