Home / Cognifty Projects / Remote WebDAV Module

Introduction

Why bother setting up and installing complicated server extensions to get WebDAV support on your web server when you can get more flexibility by writing your own PHP module?

Download

You can get the latest version from github.com. Then just upload the module to your admin panel to finish the installation.

http://github.com/markkimsal/nifty-modules/downloads

Screenshots

Shot of virtual webdav folders

What is remotewebdav?

This modules allows limited access to your cognifty installation via the WebDAV protocol. Although the access is limited, you can still access all the functionality you need to customize any part of a running system.

  • Make backups of your configuration files.
  • Make changes to your configuration files.
  • Make template changes. (add new CSS/images)
  • Install new modules.
  • Override existing modules with your customizations.
  • Backup module code.

The only thing you can't do that you might need to do on a regular basis is download a datbase backup. Also, you can't access or clear the cache.

Installation

Move the folder "remotewebdav" into your local-admin folder.

For cognifty r18 and below:

Add the following to boot/local/default.ini
  [path]
  override.admin.remotewebdav=@sys.path@/local-admin/remotewebdav
Add the following to boot/admin/admin.ini
  [path]
  override.module.remotewebdav=@sys.path@/local-admin/remotewebdav

For cognifty r19 and above:

Add the following to boot/local/default.ini
  [path]
  override.admin.remotewebdav=@sys.path@/local-admin/remotewebdav

If there already is a [path] section, simply add the lines into that section.

Optional: add a group with the code 'radmin'. Add special users into this group.

Usage

If your webdav client asks for a server you should try one of the following:

example.com
http://example.com
https://example.com
webdav://example.com
webdavs://example.com

If your webdav client asks for a folder you should try one of the following:

/path/to/cognifty/admin.php/remotewebdav

Konqueror/KDE:

Add "webdavs://site.example.com/admin.php/remotewebdav/" to your Network Folders applet, or bookmark in konqueror

Windows XP (not working fully):

You might need this patch if you are on windows XP and are experiencing problems: http://support.microsoft.com/?scid=kb%3Ben-us%3B907306&x=16&y=13

Other programs which support webdav include: EngInSite DataFreeway Windows Vista: Should be like XP.

Mac OSX: Should behave as a normal webdav folder.