OK... so krzykat provided the information that I needed. Specifically, in which directory to place web files.
-----
If you simply want to host an .xml file, place it in /var/www/html/phonebook.
How to do it:
- SSH into your PBX
- Make the phonebook directory: mkdir /var/www/html/phonebook
- Create the .xml file readable by the Yealink phones
- http://support.888voip.com/index.ph...to-create-an-xml-phonebook-for-yealink-phones
- Place the .xml file in the phonebook directory
- Easiest method: Use SFTP and copy the file to the directory
- Mac: Cyberduck
- Windows: Filezilla
- Somewhat more complicated: use "scp" (secure copy) from the command line / terminal
- Examples: http://www.hypexr.org/linux_scp_help.php
- In the web interface for your Yealink phone, add the URL for the contacts.xml file (or whatever you named it) to Directory --> Remote Phone Book --> URL (and then give it a name)
- In our example: http://PBX-SERVER-IP/phonebook/contacts.xml
-----
If you want the web interface for the phone book, so that the your users can update in real time the remote directories for your entire organization:
- SSH into your PBX
- Make the phonebook directory: mkdir /var/www/html/phonebook
- Download the latest zip file from here: https://github.com/octivi/yealink-phonebook/releases/tag/v1.0
- Unzip the package
- Using SFTP or scp as described above, copy the contents of the downloaded folder unedited to /var/www/html/phonebook
- Make sure to copy the contents, not the directory itself
- In other words, copy the individual files (index.php, license, pb, readme.md, yealink-phonebook.phar) to your phonebook directory on your PBX
- Change the directory permissions: chmod 777 -R /var/www/html/phonebook
- This is clearly not secure
- If anyone has instructions how to use the .htaccess file for authentication, that would be helpful
- I'm not overly concerned, as the PBX is locked down to only the IP address of my office, so the phonebook directory can only be reached from within my office
- In the web interface for your Yealink phone, add the URL for the contacts.xml file to Directory --> Remote Phone Book --> URL (and then give it a name)
- In our example: http://PBX-SERVER-IP/phonebook/pb/contacts.xml
- To access your web based phonebook, go here: http://PBX-SERVER-IP/phonebook/index.php
-----
This worked like a charm on my server. All of my Yealink phones now have an always updated phone directory. In addition, anyone in the office can add new contacts as needed.
One issue: I've noticed that if you add a contact incorrectly the first time, editing it doesn't seem to work. You have to delete the contact and then add it again.
Cheers!