You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

514 B

WSGI Application in Apache

Apache configuration should look something like:

<VirtualHost>
    WSGIScriptAlias /nilmdb /home/nilmdb/nilmdb.wsgi
    WSGIApplicationGroup nilmdb
    WSGIProcessGroup nilmdb
    WSGIDaemonProcess nilmdb threads=32
</VirtualHost>

where /home/nilmdb/nilmdb.wsgi is a file containing:

import nilmdb.server
application = nilmdb.server.wsgi_application("/home/nilmdb/db")

where /home/nilmdb/db is the path to the database.