GithubHelp home page GithubHelp logo

nginx_webdav's People

Contributors

mcnewton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nginx_webdav's Issues

Subfolder link giving wrong address when opening in browser with no trailing slash in the end

Hello,

When applying this config to my WebDAV server, I noticed that subfolder links are broken in the web browser. To be precise, let's say we have a WebDAV share at
https://example.com/webdav/
so, if there is a folder called 'folder1' when you are clicking it, it shall take you to
https://example.com/webdav/folder1/
and when you open a file in the folder, it will be
https://example.com/webdav/folder1/sample.txt
everything works fine at this moment.

However, when you open the share without a trailing slash in the end,
https://example.com/webdav
When you click on 'folder1', it will instead take you to
https://example.com/folder1
and thus, you get a 404 error. If you open the folder as https://example.com/webdav/folder1 without trailing slash and attempt to open the file in it, it will take you to
https://example.com/webdav/sample.txt
and you will also get a 404 error.

I have little knowledge of Nginx, so I don't know why it happened. For now, the temporary fix for me is to disable the part for working with Finder and Explorer and let the browser auto-redirect all links to the version with a trailing slash.

Best regards
Jayden

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.