Comments (7)
Hey Niel, sorry to hear that... 403 is weird indeed. The toast appears to show that the HEAD request was forbidden too. I've not experimented much with nginx's WebDAV module, do you have a basic setup you could easily share with me that recreates the problem? I'll try and create a example config/docker-compose for nginx this week if I get time if not.
Thanks for the report!
from webdav-js.
Thx for your help dom,
In my server setup I am using Plesk, where nginx and Apache work in tandem, with Apache serving dynamic content and nginx being used as a proxy serving static content.
So, webdav is running under apache2 and maybe I have to set header now in nginx, as I didnt have to set before. But I am really not experienced at all. Docker is also disabled in my vps :/
Greetings
from webdav-js.
Thanks for the extra info. I'm guessing this happened only when updating to the latest version. which is a shame... The underlying mechanism should be the same, but it should be possible to bind to a specific version whilst I investigate this (you can run build/examples-tag.sh 1.1.0
which should generate fixed version configs at 1.1.0) but I'd be really interested in finding out if I can avoid this problem in the app directly so any configs you can safely share for nginx and/or Apache would be awesome.
from webdav-js.
I've just pushed to a test branch which disables HEAD
requests (if data-disable-check
attribute exists on the page - so you'll need the updated header.html
as well as source files). It's only a rough branch (and apparently I need to sort out the tests!) but would you be able to take a quick look and see if this fixes your problem when you have time please?
https://github.com/dom111/webdav-js/tree/feature/disable-head-requests
Thanks!
from webdav-js.
Hi dom,
Thanks for the extra info. I'm guessing this happened only when updating to the latest version.
yes, you are right!
I've just pushed to a test branch which disables HEAD requests (if data-disable-check attribute exists on the page - so you'll need the updated header.html as well as source files). It's only a rough branch (and apparently I need to sort out the tests!) but would you be able to take a quick look and see if this fixes your problem when you have time please?
I tested it but it is still the same. I double checked it, also tested again with the old webdav-js.min (https://github.com/dom111/webdav-js/blob/82dce1a51f8810ba219ee6cb2b7fb04a5c89c015/src/webdav-min.js), which worked for me again.
greets
from webdav-js.
I just saw that I forgot to set the attribut. It works by the way. :)
from webdav-js.
Oh great! I'm glad this works! I'll add in some tests for this and get it merged to master in the next week or so. Thanks for reporting!
from webdav-js.
Related Issues (20)
- Wishlist: Display Folder Path at Top HOT 2
- Propfind Not Allowed: Fall back to regular link
- Add copy/move
- Use XMLHttpRequest for file uploads (PUT method) to show progress indicator HOT 4
- Deleting a file which was not overwritten leaves an entry behind
- Online PWA app that can work with CORS
- MOVE not working on Apache
- Bug, critical: PROPFIND requires for Depth header HOT 8
- [discussion] github.com/perry-mitchell/webdav-client
- [Bug] IIS error when click on back button <-
- Customize dav root
- Chrome extension HOT 1
- Detect if the current URL has a WebDAV share HOT 2
- nginx example non-functional
- Directory listing appears twice HOT 3
- Creating Directory, Uploading File & Refresh HOT 2
- MOVE WebDav Vert not working IIS HOT 2
- Enhancement: thumbnails support HOT 15
- Add plugin mechanism
- Convert to TypeScript and replace webpack with esbuild HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdav-js.