Below should fix your issue. It’s due to existing WD’s config.
- Disable your new site config thus removing the symlink, run:
- Move your config to the conf.d path, run:
mv /etc/apache2/sites-available/wdnas5080.conf /etc/apache2/conf.d/;
- Restart the daemon (required due new listening port 5080), run:
service apache2 restart;
- Access the new webdab, browse:
Hoping to get some help from you. I’ve been successfully running a second webdav based site on TWO of my WD my cloud drives for several months based on your steps above.
Over the past few days it stopped working. Long story short, its stopped working on both my drives at the same time.
No firmware udpates on the WD drives.
Tried from multiple devices to access the page but it seems to get redirected as follows:
Page link is: http://WD_IP:51581/web
When i try to open using browsers on my multiple PCs, i get the webdav login, once i enter that I get redirected to “http://WD_IP:51581/UI” . I know the default WD gui is located at that page /UI but on port 80. This displas an error
The requested URL /UI was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have tried from my android phone which i use regaulary to access the webdav share via an android app. That also doesnt work anymore.
Recently i had updated my openwrt router and thought maybe thats causing the issue. Today i connected both drives directly to the PC using static IPs but i get the same problem.
I’m totally lost now. NO CONFIG HAS CHANGES ON THE WD DRIVES. I have an old mybook live that i had initially setup webdav on long time ago. I powered that on and webdav is working fine on that!!!
Could it be that western digital has some how patched soemthing on the drives silently?
The apache configs are as follows:
nas1:/DataVolume/shares# cat /etc/apache2/ports.conf
If you just change the port or add more ports here, you will likely also
have to change the VirtualHost statement in
This is also true if you have upgraded from before 2.2.9-3 (i.e. from
Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
deprecated in apache 2.4
SSL name based virtual hosts are not yet supported, therefore no
NameVirtualHost statement here
nas1:/DataVolume/shares# cat /etc/apache2/conf.d/wdnas51581.conf
Alias /webdav /shares
Deny from all
Allow from all
I found out that i can access files over the above webdav site by pointing directly to a file. However directory listing is not working. TCP capture shows error " Error 405 Method not allowed"