Webdav issues

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
jammy
New here
Posts: 4
Joined: Fri Apr 08, 2016 8:11 am

Webdav issues

Post by jammy »

TS-869 pro
4.2.0 (20160311)
Mixed Platform Win 10 & OSX 10.10.5
8 Hard Drives
WDC WD30EZRX-00DC0B0
3TB
RAID 1
Enabled - Webserver, Webdav, DDNS (all on default ports)
no external devices
MTU 1500


Hi everyone

hoping somebody can help me with this, I have decent experience but I feel like I'm slowly falling into the deep-end. (apols if this has been posted before, I have searched but haven't found much for my issue)

I am trying to setup webdav for a friend on his QNAP, I have followed the tutorials and setup ddns and the webserver, I cannot connect via a mac and have some luck with a pc using Netdrive,
but can't map to the drive like I've been told in the instructions.

I have setup a test folder to try to connect to on http://ddns/Webdav but NetDrive tells me I have a permission error, trying to connect via mac gives me a similar issue, but if I connect directly to http://DDNS/ with my login details it automatically shows me the drive in windows but I can't copy to it. If I try the same on mac it won't even accept the same login details and refuses to show me the drive.

I am hoping this is mainly a router issue with forwarded ports, but was under the impression I wouldn't need to forward any after reading the tutorial at QNAP (it states Webdav can Bypass firewalls and proxies) which confused me.
If I need to forward ports on the router, I'm not sure where I should be forwarding the ports to. (I understand the ports that need to be forwarded) Port 80 is already open, should this then be forwarded to my qnap? As my work is used by other offices would there be implications of having any ports forwarded to my QNAP?

Also my user base is very small and I wanted to filter the IPS when connecting externally, if I'm filtering IPS do I still need an SSL certificate (and can I use the QNAP cloud certificate?)

Any help much appreciated!
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Webdav issues

Post by schumaku »

For WebDAV, use https only ... no http ... forget about 80/TCP (standard http Web Server), and use https (NAS Web Server default on 8081/TCP).

First, ensure the Web Server is operational - for the sake of it on 80/TCP and it's accessible (use a test html file - a simple hello world stord as hello.html) ... if http://NAS/hello.htm works, ensure https://NAS:8081/hello.html does work too. IF this does not work ... don't even think playing NetDRIVE, or OS X Web DAV, ...

Note: Windows does require a valid, verifiable certificate - otherwise there will be no WebDAV connection over https possible.

[quote="jammy"] but if I connect directly to http://DDNS/ with my login details it automatically shows me the drive in windows but I can't copy to it[/quote] What drive, what shared folder? You can't rite to the NAS Web Server root. You must use a WebDAV URL including the shared folder path.

Note: There was an issue that the WebDAV paths were nor properly set in place if there are shared folders with a place (looks no, unhandy, works s**t).

If all the above works ... you can use OS X Finder ... Connect to Server ... https://NAS:[b]8081[/b]/sharedfoldername/ for example.

Note: Yuu can not use a Web Browser to access to the WebDAV shared folder URL ... the authentication will pop-up, but this can't work.
jammy
New here
Posts: 4
Joined: Fri Apr 08, 2016 8:11 am

Re: Webdav issues

Post by jammy »

Hi Schumaku,

Thank you for your prompt reply, I'm currently following the instructions from http://forum.qnap.com/viewtopic.php?t=11184 on setting up the webserver correctly and have already found an issue where the public IP is not showing the webpage I made.
I will try and forward the ports on the router. Unfortunately I don't have direct access and will have to email the IT guy and wait on him before I get any results

I'll keep you posted
jammy
New here
Posts: 4
Joined: Fri Apr 08, 2016 8:11 am

Re: Webdav issues

Post by jammy »

I forgot to ask, can I use the SSL certificate with myQNAPcloud for the https?
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Webdav issues

Post by schumaku »

jammy wrote:I forgot to ask, can I use the SSL certificate with myQNAPcloud for the https?
Yes, of course.
jammy
New here
Posts: 4
Joined: Fri Apr 08, 2016 8:11 am

Re: Webdav issues

Post by jammy »

Hi Schumaku,

Apologies for the taking so long in replying.

I took the QNAP home to a different router layout and by following your advice and the web tutorial was able to get most of the way there and got everything except 'Connecting via server' to work

When trying to connect via Mac 'Finder - connect to server'. It always takes me to the login panel once I've accepted the untrusted certificate, but then refuses to let me login using any combination of username or password I have setup, even very simple ones won't work.

I can connect on Windows via Netdrive and have found a way around the problem on Mac by connecting via Cyberduck, this lets me connect without a hitch.

Just wanted to thank you for all your help, much appreciated! :mrgreen:
tinyark
Starting out
Posts: 15
Joined: Wed Jan 18, 2017 10:17 pm

Re: Webdav issues

Post by tinyark »

Late response but thankyou. Had exactly the same issue where I could log in on OSX via 'Connect to Server' but couldn't mount any of my shared folders. Mountain Duck worked a treat for me. Alternative of cyberduck. Cheers.
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”