proposed change for /docs/config.html

Curtis Maurand curtis at canon.maurand.com
Fri Mar 9 05:31:38 PST 2001


Hi,
 
Proposed change to the documentation for clarity.

for config.html


To setup the configuration files for Freeside 1.2.x you must create the directories /usr/local/etc/freeside and either of the following depending which database you are running.

         DBA                directory name
---------------------------------------------------------------------------------------------- 
    mysql            /usr/local/etc/freeside/conf.DBI:mysql:freeside
    PostgreSQL       /usr/local/etc/freeside/conf.DBI:Pg:dbname=freeside

These directories should not be world readable.
You must have a file called "mapsecrets" in the mapsecrets file, you need the username and the name of  a file to contain user information for each user that will authorized to use freeside.  Authentication is handled by Apache.  If you've configured Apache for user authentication properly, Apache will pass the username to freeside which uses the info contained in each user information file for connectivity to the freeside datbase.   The format of the map secrets file is:

username                    <name of userinformation file>

for example:

username        username.txt

more elaborately, you could create a users directory and put your user information files in there:

username        users/username.txt

Each user information file has three lines and format is:

DBI:mysql:freeside (or DBI:Pg:dbname=freeside if you're using PostgreSQL)
DB_username
DB_password

example:

DBI:mysql:freeside
freesideuser
password



Where the first line is the databese connectivity definition. The second line is the username of the user that is connecting to the database.  The third line is that user's database password.

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20010309/ca93f4d8/attachment.html


More information about the freeside-users mailing list