Skip to content

sayedsahin/webdav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Sabre/DAV WebDAV Server (Single Root Setup, PHP 8+)

A lightweight and powerful WebDAV server using Sabre/DAV, designed to run directly from your root folder. It provides read, write, and full access to your /data folder, with HTTP authentication and full RFC-compliant WebDAV support.


🧭 About

Sabre/DAV WebDAV Server is a minimal yet complete PHP implementation of a WebDAV server.
It’s perfect for hosting environments like cPanel, where you may not have root or shell access, but still want a working WebDAV endpoint.

With this setup you get:

  • βœ… Full access to the /data directory (read/write/delete)
  • πŸ” HTTP Basic Authentication
  • πŸ’» Compatible with Floccus, rclone, Windows, and macOS clients
  • 🧩 100% PHP 8+ compatible
  • πŸš€ Runs directly from the root folder (/public_html/)

βš™οΈ Installation Steps

  1. Upload all files to your root folder (e.g. /public_html/).

  2. Install composer

composer install
  1. Edit Configuration inside index.php:
$USERNAME = 'your_username';
$PASSWORD = 'your_password';

πŸš€ Access via WebDAV Clients

Client Example URL Notes
Floccus https://yourdomain.com/ Use as WebDAV sync endpoint
Windows Explorer \\yourdomain.com@SSL\ Use HTTPS for secure access
macOS Finder https://yourdomain.com/ Go β†’ Connect to Server
rclone Use webdav backend Works great for syncing

About

A lightweight and powerful WebDAV server using only php

Topics

Resources

Stars

Watchers

Forks

Languages