[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: 64
Joined: Feb 2016
Reputation: 0
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
  y000000000000.boot and encrypted config files kapetrosyan 6 2,569 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Hard reset a T20P and erase config Kevinlloyd 31 73,363 11-13-2019 10:41 AM
Last Post: olaf_89
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 2,309 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 18,255 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 13,764 04-11-2018 11:03 AM
Last Post: Rus
  Which config file for phone_setting.hide_ntp_server.enable Byron13 1 2,284 11-24-2017 01:27 AM
Last Post: Lucia_Yealink
Question Config for Auto Provisioning Questions Audevon 8 9,321 11-23-2017 05:32 AM
Last Post: Byron13
  Common config with t46s not working Alan11111111 3 5,333 09-08-2017 11:03 AM
Last Post: Fuur
  What's display voice mail in config file avayax 1 3,439 02-21-2017 08:30 AM
Last Post: complex1
  LDAP Configuration (DIRECTORY->SETTING lack of config using autoprovisioning) amvalente 1 3,314 02-08-2017 09:20 AM
Last Post: Lucia_Yealink

Forum Jump:


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

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