Updated WebDAV Config (markdown)

antelle 2016-08-20 23:58:10 +03:00
parent ba64ad822b
commit ae4ef01e36
1 changed files with 6 additions and 4 deletions

@ -1,4 +1,8 @@
To use WebDAV-located file from web app, CORS must be enabled on your server. Here's an example of config:
To use WebDAV-located file from web app, CORS must be enabled on your server.
❗ OPTIONS request must work **without** authorization.
Here's an example of config:
For Apache:
```
@ -26,6 +30,4 @@ if ($request_method = 'OPTIONS') {
add_header 'Content-Length' 0;
return 204;
}
```
❗ OPTIONS request must work **without** authorization.
```