403 Forbidden. Contact Manager to Yealink Address Book

I use the above service to populate the address book on Yealink dect phones which was working fine until the next moment it didn’t.

Using this link http://pbx.domain.com/cm_to_yl_ab.php it should return the XML file that contains the phonebook but now displays forbidden. Can anyone just any advice please?

Thanks

Did you

chown asterisk:asterisk cm_to_yl_ab.php

?

Yes I did, just did again but same result, tried the link in incogneto mode but still forbidden.

ls -al /var/www/html/

ls -al /var/www/html/
total 52
drwxrwxr-x. 7 asterisk asterisk 276 Sep 30 09:55 .
drwxr-xr-x. 4 root root 33 Nov 8 2020 …
drwxrwxr-x. 10 asterisk asterisk 4096 Nov 8 2020 admin
-rw-rw-r-- 1 asterisk asterisk 6930 Feb 9 2021 cm_to_yl_ab.php
-rw-rw-r-- 1 asterisk asterisk 6929 Sep 30 11:23 cm_to_yl_ab.php.1
-rw-rw-r-- 1 asterisk asterisk 6930 Sep 30 09:55 cm_to_yl_ab.php.2
-rw-rw-r-- 1 asterisk asterisk 6933 Feb 8 2021 cm_to_yl_ab.php.save
drwxrwxr-x. 2 asterisk asterisk 59 Nov 10 2020 digium_phones
drwxrwxr-x 2 asterisk asterisk 46 Feb 24 02:00 .freepbx-known
-rw-rw-r–. 1 asterisk asterisk 16 Mar 12 03:37 .htaccess
-rw-rw-r–. 1 asterisk asterisk 453 Mar 12 03:37 index.php
drwxrwxr-x. 2 asterisk asterisk 4096 Mar 26 05:27 restapps
-rw-rw-r–. 1 asterisk asterisk 361 Mar 12 03:37 robots.txt
lrwxrwxrwx. 1 asterisk asterisk 38 Nov 8 2020 ucp → /var/www/html/admin/modules/ucp/htdocs
lrwxrwxrwx. 1 asterisk asterisk 47 Nov 8 2020 wcb.php → /var/www/html/admin/modules/webcallback/wcb.php
drwxrwxr-x 3 asterisk asterisk 28 Nov 10 2020 .well-known

Any thoughts if these permissions are correct?
Thanks

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.