Gossamer Forum
Home : Products : DBMan SQL : Discussion :

DBMan SQL admin password not working

Quote Reply
DBMan SQL admin password not working
I'm trying to secure my admin section.

I went to Setup:AdminPassword and entered a user and a password. I received a message that the directory was password protected. There are .htaccess and .htpasswd files in the ../admin directory.

But when I (or others) go to the admin page, we are not asked to login and have full access to the admin section.

I tried deleting and re-entering the user without success.

We are running under apache.

Thanks for any suggestions.

Bob
Quote Reply
Re: [regert] DBMan SQL admin password not working In reply to
Hi,

You should edit the configuration file (httpd.conf) and check if the line "AccessFileName .htaccess" wasn't commented out.

Cheers,
Jean
Gossamer Threads Inc.
Quote Reply
Re: [jean] DBMan SQL admin password not working In reply to
Jean,
Thanks for your reply.

AccessFileName .htaccess

was/is uncommented in httpd.conf

Other possibilities ?
Bob
Quote Reply
Re: [regert] DBMan SQL admin password not working In reply to
Restart your webserver then SmileWink . BTW, which version of Apache are you using?
Quote Reply
Re: [jean] DBMan SQL admin password not working In reply to
Hi Jean,
Stopped and started Apache. The error_log reports:

[Mon Jan 27 15:36:18 2003] [notice] Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl\
/2.8.1 OpenSSL/0.9.6 DAV/1.0.2 PHP/4.0.4pl1 mod_perl/1.24_01 configured -- resumi\
ng normal operations

Went to admin page and it let me add a second user without needing to login or enter password.

Here's what .htaccess and .htpasswd say:

.htaccess
AuthUserFile /var/www/gtsql/admin/.htpasswd
AuthGroupFile /dev/null
AuthType Basic
AuthName Protected

.htpasswd
require valid-user
drb:D6lSsPOqtweII
drb2:JpTq0et6OzN8U


Bob
Quote Reply
Re: [regert] DBMan SQL admin password not working In reply to
Solution

We needed

<Directory "/var/www/gf/cgi-bin">
AllowOverride all
</Directory>