Re: How to enable PUT request on Apache/2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yetkin Degirmenci wrote:
Hello everyone,

I need to enable PUT request on my VPS server because I bought a comercial cms.
Even my service provider can't figure it out.
I'm not so familar those kind of things.
Only thing we tried made a alias with Davlock it were PUT work under subdirectory but I need to work under publich_html but we can't define alias to "/" root directory.
any help realy apreciated.

As far as I understand things, PUT requests are not disabled in Apache.
They are enabled, as long as there is a handler capable of processing them.
By installing mod_dav, you install one such handler.
If your CMS is supposed to allow and handle PUT requests, then it is the job of your CMS to provide that handler.


Let me say this another way :
By default, to serve HTTP requests for any directory, Apache installs and uses its own "default handler". That one handles GET requests, normally by returning the document which corresponds to the request URL. So the fact that Apache does not normally accept PUT requests, is simply because Apache's default handler does not accept them. If you place a directory under control of another handler however (like mod_dav), then it depends on this handler whether PUT requests are accepted or not. The same if your CMS uses PUT requests. Your CMS should then provide a handler which accepts PUT requests.
It is basically its problem, not Apache's.
Your CMS is then also responsible for the security aspects of allowing users to upload files to your server via PUT requests.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux