Yealink Forums
[OT] Apache 2.4 config allowing PUT - Printable Version

+- Yealink Forums (
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Auto Provisioning (/forumdisplay.php?fid=14)
+--- Thread: [OT] Apache 2.4 config allowing PUT (/showthread.php?tid=44607)

[OT] Apache 2.4 config allowing PUT - oliv - 10-28-2020 03:23 PM


I'm using Apache 2.4 on Debian hosts to serve Yealink config files through HTTP.
I'm having a hard time to configure an Apache 2.4 instance allowing phones to send files back using PUT method (call-log files, ...).

Can someone be kind enough to publish a working example ?

Among many attempts, the config bellow fails with a 405 Method not allowed

<VirtualHost *:8080>
    ServerAdmin webmaster@localhost
    Alias /yealink /srv/tftp/yealink
    DocumentRoot /srv/tftp/yealink
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    <Location "/srv/tftp/yealink">
       AllowMethods reset    
    <Directory /srv/tftp/yealink>
       Require all granted

Config files are stored in /srv/tftp/yealink. I dedicated 8080 port for phone provisioning.
I am expecting it to work with
curl -T foo.cfg

I've not tried all possible combinations yet (with a different URL, with or without a pre-existing foo.cfg file within /srv/tftp/yealink.

Best regards