Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say we have a file on server which have all permissions 777. Is it possible to make a script, situated on other server than the file to modify. The script uses HTTP 1.1 protocol features only to modify the file. Is this scenario possible?

share|improve this question
up vote 4 down vote accepted

Technically, yes, it is possible. HTTP 1.1 has the PUT and PATCH write commands as well as a DELETE command. However, they are not implemented on most web servers. You need to tell Apache to accept the PUT/PATCH/DELETE commands and have a specific program or script handle those commands to do the writing and deleting.

Luckily, this W3C page lists 2 web servers (Jigsaw is the only one still maintained) that support PUT by default plus an easy way to set up Apache to also support it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.