Webdav url work on web browser, but webdav client or file explorer on window.

Started by dippic, June 15, 2021, 03:54:44 AM

Previous topic - Next topic

dippic

Something on Centos Web Panel blocks access from file explorer on window or Linux or WebDAV client. When I put webdav URL on web browser it working fine. but I can't login (connect) from any window or Linux client like file explorer or webdav client.
mod_security = off, firewall = off.
Any suggestion how to fix this?

josephgodwinke

Have you assigned group ownership of the .htpasswd to the the webdav user
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.

dippic


josephgodwinke

Assuming you have created a WebDav directory under Apache change permissions for this folder for the user apache

Next secure the WebDav directory by creating a password file sudo htpasswd -c /etc/httpd/.htpasswd myuser

Replace myuser with the username you prefer for the login

Lastly assign group ownership of htpasswd to the apache user sudo chown root:apache /etc/httpd/.htpasswd

Configure an apache vhost so that the WebDav directory is accessible to the web.

Restart CWP services or just restart Apache and you are good to go.

Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.

dippic

my WebDAV directory can access from a web browser (chrome, firefox...etc) and log in normally with username and password. But still can't connect through WebDAV client or map network drive on file explorer.