[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[OT] Apache 2.4 config allowing PUT
Author Message
oliv Offline
Member
***

Posts: 88
Joined: Feb 2016
Reputation: 1
Post: #1
[OT] Apache 2.4 config allowing PUT
Hello,

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

Code:
<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    
    </Location>
    <Directory /srv/tftp/yealink>
       Require all granted
    </Directory>
</VirtualHost>

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 http://192.168.1.1:8080/yealink/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
I
10-28-2020 03:23 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


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

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Smile W73P dect phone not allowing to auto-provision as different extension Andi_Dee 2 1,184 02-05-2024 12:49 PM
Last Post: bekean
  W73P Custom Handset Config to Disable Noise Cancellation vikramgupte 2 2,963 10-25-2022 07:37 AM
Last Post: vikramgupte
  Hard reset a T20P and erase config Kevinlloyd 32 131,144 12-02-2021 05:54 AM
Last Post: callisap
  Daily config check oliv 2 5,953 07-07-2021 01:08 AM
Last Post: oliv
  y000000000000.boot and encrypted config files kapetrosyan 6 15,579 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 8,152 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 30,110 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 25,828 04-11-2018 11:03 AM
Last Post: Rus
  Which config file for phone_setting.hide_ntp_server.enable Byron13 1 6,467 11-24-2017 01:27 AM
Last Post: Lucia_Yealink
Question Config for Auto Provisioning Questions Audevon 8 22,356 11-23-2017 05:32 AM
Last Post: Byron13

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication