-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webdav with Jetbrains Rider, Caddy and ASP NET Core Umbraco CMS #36
Comments
Hi Daniel, I'm sorry to say I don't actually know much about this setup. What errors are you getting?
It's recommended to use some form of authentication if you're enabling this on a public network interface, yes. basicauth is probably the easiest way to do it. This docs page can help: https://caddyserver.com/docs/caddyfile/directives/basicauth |
Hi @mholt, I got the message: This is my Caddy config:
Ports are open and forwarded... Any suggestions on how to fix or what I do wrong? Kind regards, |
Hi, i would probably try without auth just to make sure then look into if |
authentification works as expected. <D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/</D:href>
<D:propstat>
<D:prop>
<D:resourcetype>
<D:collection xmlns:D="DAV:"/>
</D:resourcetype>
<D:displayname/>
<D:getlastmodified>Thu, 17 Aug 2023 18:30:39 GMT</D:getlastmodified>
<D:supportedlock>
<D:lockentry xmlns:D="DAV:">
<D:lockscope>
<D:exclusive/>
</D:lockscope>
<D:locktype>
<D:write/>
</D:locktype>
</D:lockentry>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus> Because in chrome I get a response from the site ... Kind regards |
Yeap that looks like webdav-ish. I think you can do webdav request with curl by doing something like Maybe it's worth trying with webdav client that is known to work first? think i've used macOS finder and kodi. |
I found a workaround with finder: with config:
will work in finder, but not in Rider. Anyone an idea what I do wrong here? why does it work with https as prefix? Googleing the problem also had no answer for me. Thank you @wader for your input with Finder, that was a good idea! :) |
@DanielOberlechner I'm guessing the dav prefix doesn't use TLS? Whereas HTTPS is just webdav HTTP requests over TLS? Quick googling suggests Rider may not support WebDAV over TLS (but it does support FTP over TLS)... |
Hi,
I have these settings as default in webdav:
I tried by know all different choices with webdav and tutorials in the internet, but I can't get it to work.
This are the fields I have to enter in the image.
I'm not really familiar with webdav, it seems to be the only convinient way to deploy my application.
I have a linux server with the path /var/www/personalWebsite into which I would like to deploy my application.
It works via scp and rsync but it looks like I'm to dumb to get it to work with debdav.
Could you provide a clear explanation on how I have to change the caddy configuration file?
Like I've said I tried all possible combinations but I couldn't get it to work...
And how do I restrict the access, is this like a public ftp where everyone can deploy files?
I've read this here, and here it get's shown I have to create a password hash, but I don't know if this is necessary?
https://marko.euptera.com/posts/caddy-webdav.html
That would be very kind of you,
kind regards
greets from Italy,
Daniel
The text was updated successfully, but these errors were encountered: