Gossamer Forum
Home : Products : DBMan : Discussions :

htaccess and dbman

Quote Reply
htaccess and dbman
i have read 10 pages of old postings on this subject but still can't figure out. i created a test.shtml page to show environment variables. i have remote-user variable assigned after logging in with htaccess userid and password. but dbman doesn't recognize this and always shows the login screen.

i just remembered i meant to test this by calling dbman from an shtml page. i'll try this and post a reply later.
EDIT:

ok i don't really know how to try this other than a link to the db.cgi from the shtml page. but what do i put for username or userid? when i enable debugging, it doesn't show remote_user. i guess that's because my db.cgi is in cgi-bin directory instead of the protected www/database directory.

maybe it will be easier to ask how to do what i'm trying to do:

i want one login for my site. once user logs in, i want dbman to know who they are and look up permissions in the pass file -- i don't mind maintaining htpasswd list with same usernames as dbman password file. i will have regular web pages as well as database info. i don't want anyone to see these pages unless they are logged in via htaccess. once they've logged in, dbman should not display the login screen but should show their permissions properly. is this possible?

Last edited by:

delicia: Jul 6, 2003, 3:43 PM
Subject Author Views Date
Thread htaccess and dbman delicia 3852 Jul 6, 2003, 3:15 PM
Thread Re: [delicia] htaccess and dbman
LoisC 3749 Jul 9, 2003, 11:22 AM
Thread Re: [LoisC] htaccess and dbman
delicia 3745 Jul 9, 2003, 5:15 PM
Thread Re: [delicia] htaccess and dbman
delicia 3724 Jul 10, 2003, 1:35 PM
Thread Re: [delicia] htaccess and dbman
LoisC 3735 Jul 10, 2003, 4:43 PM
Post Re: [LoisC] htaccess and dbman
delicia 3733 Jul 10, 2003, 8:19 PM