| 1 |
sql-ledger for Debian
|
| 2 |
---------------------
|
| 3 |
|
| 4 |
To test this package you need to add this line to you
|
| 5 |
/etc/apache/httpd.conf:
|
| 6 |
include /etc/sql-ledger/sql-ledger-httpd.conf
|
| 7 |
or, if you run apache >= 1.3.29.0.1, please a symlink from
|
| 8 |
/etc/sql-ledger/sql-ledger-httpd.conf to /etc/apache/conf.d
|
| 9 |
then restart apache.
|
| 10 |
|
| 11 |
You also have to add some users to your postgres DB
|
| 12 |
|
| 13 |
The easiest way to test this package is to add a postgres-users with
|
| 14 |
the name of www-data. This however will mean that every apache process
|
| 15 |
will be able to authenticate to your DB.
|
| 16 |
|
| 17 |
To make a more robust security scheme, please read your postgres
|
| 18 |
documentation, but for now, do , as root, a
|
| 19 |
|
| 20 |
su - postgres
|
| 21 |
createuser -d www-data
|
| 22 |
|
| 23 |
Answer "n" to the question "Shall the new user be allowed to create
|
| 24 |
more new users?"
|
| 25 |
|
| 26 |
To finally test this, point your browser at
|
| 27 |
http://localhost/sql-ledger/admin.pl to create the DB and the initial
|
| 28 |
user, and afterwards: http://localhost/sql-ledger/login.pl to log in.
|
| 29 |
|
| 30 |
-- Finn-Arne Johansen <faj@bzz.no>, Sun, March 21, 2004 15:41:25 +0100
|