I’m trying to switch over to database authentication and am not having much luck. I know that there a gazillion posts on this subject, but none of them seem to be recent. I have read through the ones that are out there and still can’t seem to make this work. I have made sure that there are no administrators set up in free pbx. I have commented out the admin section in trixbox.conf…

#Password protect /var/www/html/admin
#<Directory /var/www/html/admin>
#AuthType Basic
#AuthName “Restricted Area”
#AuthUserFile /usr/local/apache/passwd/wwwpasswd
#Require user wwwadmin maint

#Password protect /var/www/html/maint
<Directory /var/www/html/maint>
AuthType Basic
AuthName "Restricted Area"
AuthUserFile /usr/local/apache/passwd/wwwpasswd
Require user maint

I then switched authtype to database in amportal.conf.
and restarted httpd and amportal

I login with the maint username, and when I click on pbx settings, under the pbx tab, I am then prompted for a username and password and nothing I’ve tried works… admin admin, asteriskuser amp109, admin amp111…

Have I missed something?

Any feedback is much appreciated!


I am having the same problem. Hope someone can chime in here.