Authentication prompts for ARI after upgrade to 2.10

We just upgraded to FreePBX 2.10 and users are complaining about a login prompt when accessing the recordings page (e.g., http://server/recordings). I searched for this issue and the only mention I could find was a post by homerbartlett on February 16, 2012. He resurrected an old thread (http://www.freepbx.org/forum/freepbx/installation/resolved-password-required-when-none-should-be) about a different but similar issue. As homerbartlett explained it fairly well, I’ll just copy and paste:

Can anyone tell me if this is a FreePBX bug or issue with our distro (PIAF)?

Thanks

I tried homerbartlett’s method and we were still seeing one authentication prompt on each page load. In addition to the replacements above, I also had to search for and remove all occurrences of “/admin/” from /var/www/html/recordings/theme/page.tpl.php to eliminate all the prompts.

I took a different tack. I added the code below to /etc/pbx/htttpdconf/pbx.conf just under the entry to restrict the /var/www/html/admin directory. Then I restarted the httpd service. I think pbx.conf is a Freepbx file.

<Directory /var/www/html/admin/assets/js>
Order Allow,Deny
Allow from all
Satisfy any
</Directory>

<Directory /var/www/html/admin/assets/css>
Order Allow,Deny
Allow from all
Satisfy any
</Directory>

<Directory /var/www/html/admin/assets/images>
Order Allow,Deny
Allow from all
Satisfy any
</Directory>

warmbowski - We used your solution and the problem is now resolved. Thank you! Did you use PBXinaFlash for your installation?

Thanks it works perfect after that change. :slight_smile: