|
From: Thomas S. <ps...@on...> - 2001-02-03 06:28:30
|
Been through this. Basically you have to get your permissions right, and there are four kinds to worry about! Personally I wish some one could think of a beeter way! Anyhoo... (1) You have to get file permissions right on the install directory. One way to do this is to give complete access on the install directory from top to bottom to everyone until you get it working and then come back and make the directory structure more secure. I did this and what I ended up with in the end is everything being owned by root and most of the files and directories having a group the same as my web server's username with full group permissions set. Probably not the most secure, but not the worst either. (2) Once that's taken care of you need to make sure your postgres postmaster user account is set up. When first used the account has no password and needs one made as far as I can tell (Warning: do not delete this user account!). You'll need this account to manipulate the postgresql databases or at least to create another user who can. That user's name and password will then need to be put into sql-ledger account's file when you finally get to the setup.cgi page so that sql-ledger can access the postegres database. Make sense? (3) Then there is the .htaccess and .htpasswd files which apache uses for security. This security is only used to protect the setup.cgi script. These files are hidden so you need to do a 'ls -a' to see them. Anyway you can just delete them if you trust your users or edit them to have the correct entries. If I remember correctly there's a setting somewhere to designate where to find the .htpasswd file for the .htaccess file.(unclear?) Finally, (4) Within the setup.cgi page you'll also define a username and password for getting into sql-ledger itself (other then this setup.cgi script). Does this help? Someone should start compiling these emials for documentation. Is anyone out there saving them all? -- Thomas Sawyer ps...@on... - email (303) 285-3487 x1594 - voicemail/fax ---- Richard Eicher II <win...@ya...> wrote: > I get a error when trying to access setup.cgi. > What do I do to fix this. Apache is running as > apache apache. I do not find a .htaccess file. I > am using apache 1.3.12-25 and postgreSQL 7.0.3-2 > on Redhat 7.0. > > I am sure this is something easy. > > Thank you for your time, > rick > > __________________________________________________ > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > __________________________________________________ FREE voicemail, email, and fax...all in one place. Sign Up Now! http://www.onebox.com |