config.ru
140 Bytes
-
To install: $ sudo ln -s $NOOSFERO/plugins/stoa/script/stoa-auth-server /etc/init.d/ $ sudo update-rc.d stoa-auth-server defaults $ sudo service stoa-auth-server start Of course, the stoa plugin must be enabled and properly configure foo any of this to work. It will run on port 4000, and requests must be made to /, e.g. $ curl -d 'login=USER&password=PASSWORD' http://server:4000/