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 SEAS html directory from another computer following these steps:

  1. Create a webdav subdirectory in your ~username/html directory
  2. Set up authentication for your webdav directory
  3. Configure your OS to directly access your webdav directory for easy file sharing

Create a webdav subdirectory in your ~username/html directory

  1. Create a directory called webdav in your html directory using the command line or any FTP program.
  2. Wait at least 10 minutes for the webserver to recognize your new webdav directory.
  3. Access your webdav directory via:

    https://webdav.seas.upenn.edu/~username/webdav/

    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 .htaccess in ~username/html/webdav/ using your favorite text editor, containing lines similar to:

AuthType Kerberos
AuthName "PennKey Login"
KrbMethodNegotiate off
KrbMethodK5Passwd on
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.

Restrict Editing

To make the directory visible to everyone, but only editable by you, add this to your .htaccess file:

<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user clifford
</Limit>

Replace "clifford" with your username.

Configure your OS to directly access your webdav directory for easy file sharing

  1. Linux KDE WebDAV features
  2. Windows WebDAV features
  3. OSX WebDAV features

Note: There may be some issues for Gnome users. If you are having trouble, please contact cets@seas.

© Computing and Educational Technology Services | Report a Problem
cets@seas.upenn.edu | 215.898.4707