The sections dealing with databases in weewx.conf looks like this:

##############################################################################

#   This section binds a data store to a database.

[DataBindings]
    
    [[wx_binding]]
        # The database must match one of the sections in [Databases].
        # This is likely to be the only option you would want to change.
        database = archive_sqlite
        # The name of the table within the database
        table_name = archive
        # The manager handles aggregation of data for historical summaries
        manager = weewx.wxmanager.WXDaySummaryManager
        # The schema defines the structure of the database.
        # It is *only* used when the database is created.
        schema = schemas.wview.schema

##############################################################################

#   This section defines various databases.

[Databases]
    
    # A SQLite database is simply a single file
    [[archive_sqlite]]
        database_type = SQLite
        database_name = weewx.sdb
    
    # MySQL
    [[archive_mysql]]
        database_type = MySQL
        database_name = weewx

##############################################################################

#   This section defines defaults for the different types of databases.

[DatabaseTypes]
    
    # Defaults for SQLite databases
    [[SQLite]]
        driver = weedb.sqlite
        # Directory in which the database files are located
        SQLITE_ROOT = /var/lib/weewx
    
    # Defaults for MySQL databases
    [[MySQL]]
        driver = weedb.mysql
        # The host where the database is located
        host = localhost
        # The user name for logging in to the host
        user = weewx
        # The password for the user name
        password = weewx

##############################################################################

My knowledge of Apache is low ...
What should be changed ?

Den onsdag 7 september 2016 kl. 18:08:35 UTC+2 skrev zkab:
>
> Hi,
>
> I am new to this group  and weewx and have following hardware:
>
> 1) Raspberry Pi 3 where I have installed Debian
> 2) The Belfryboy Clone USB logger - it was installed & recognized 
> 3) Davis Vantage Vue
>
> I installed according to the documentation 
> http://www.weewx.com/docs/usersguide.htm and it went OK without errors.
> Then I installed the web server on the Raspi with 'sudo apt-get install 
> apache2'
> I have fixed a static IP (192.168.0.39) to the Raspi with my firewall.
>
> When I enter http://192.168.0.39/weewx from another computer on my 
> network I get:
> 404 Not Found
>
> Where have I gone wrong ?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to