I have 2 Asterisk servers in different cities. Recently, I’ve noticed when opening FreePBX on one of them, that it isn’t asking for login details. I recently changed the password for wwwadmin & maint on both servers. One server pops up asking for the username/password, but the other just goes straight into FreePBX. I’ve tried changing the password again using passwd-amp, and passwd-master, but it doesn’t seem to re-enable the password on FreePBX.
It’s not a cached password issue on IE or Firefox, as I’ve used different machines, and changed the password, and it still goes stright into FreePBX.
Where would the setting to request a password be in the config files? I couldn’t see any files in /etc/httpd/conf, /etc/httpd/conf.d or /etc/pbx that say anything about requiring a password, or there being a restricted area!
Any help, or suggestions would be most appreciated!
Check /etc/amportal.conf and /etc/asterisk/manager.conf for the admin password. Also if you are using passwd-master then it sounds like you are using PiaF.
I opened /etc/httpd/conf/httpd.conf but couldn’t find any reference to “/var/www/html/admin” or “AuthType”. I also opened httpd.conf on the PBX that does request login details, and couldn’t find those details either.
I found some entries similar to the above in /etc/pbx/httpdconf/pbx.conf
When I compared it to the working PBX’s pbx.conf, the section for /var/www/html/admin was missing, so I’ve copied that section into it, and restarted amportal. However, it still doesn’t request login details!