How do I enable WebDAV for my SEAS account?
What is WebDAV?
Web-based Distributed Authoring and Versioning (WebDAV) is a set of extensions to the HTTP protocol allowing users to collaboratively edit and manage files on remote web servers.
WebDAV will allow you to access files in a password-protected folder in your
html directory from another computer following these steps:
- Create a webdav subdirectory in your ~username/html directory
- Set up authentication for your webdav directory
- Configure your OS to directly access your webdav directory for easy file sharing
Create a webdav subdirectory in your ~username/html directory
- Create a directory called
htmldirectory using the command line or any SFTP program.
- Wait at least 10 minutes for the webserver to recognize your new
- Access your webdav directory via:
Replace "username" with the account name (the tilde needs to stay).
Set up authentication for your webdav directory
Method 1: PennKey Authentication
You can use this method if all of your users have PennKeys.
Create a new file called
~username/html/webdav/ using your favorite text editor, containing
lines similar to:
AuthName "PennKey Login"
Require user clifford@UPENN.EDU marilyn@UPENN.EDU
Replace "clifford" and "marilyn" with the PennKeys of the people who should have access. Each item should be separated by a space
Method 2: HTTP Basic Authentication
This method allows you to maintain a username and password file for authentication. If any of your users do not have PennKeys, you will need to use HTTP basic authentication using htpasswd.
To make the directory visible to everyone, but only editable by you, add
this to your
<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user clifford
Replace "clifford" with your username.