[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 0 2,635 10-12-2023 05:49 PM
Last Post: Andi_Dee
  W73P Custom Handset Config to Disable Noise Cancellation vikramgupte 2 4,085 10-25-2022 07:37 AM
Last Post: vikramgupte
  Hard reset a T20P and erase config Kevinlloyd 32 139,597 12-02-2021 05:54 AM
Last Post: callisap
  Daily config check oliv 2 6,947 07-07-2021 01:08 AM
Last Post: oliv
  y000000000000.boot and encrypted config files kapetrosyan 6 17,807 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 9,193 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 32,195 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 28,122 04-11-2018 11:03 AM
Last Post: Rus
  Which config file for phone_setting.hide_ntp_server.enable Byron13 1 7,048 11-24-2017 01:27 AM
Last Post: Lucia_Yealink
Question Config for Auto Provisioning Questions Audevon 8 24,931 11-23-2017 05:32 AM
Last Post: Byron13

Forum Jump:


User(s) browsing this thread:

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