Control Web Panel
WebPanel => CentOS Configuration => Topic started by: dippic on June 15, 2021, 03:54:44 AM
-
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?
-
Have you assigned group ownership of the
.htpasswd
to the the webdav user
-
I dont know how to do it. Can you show me how?
-
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.
-
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.