Difference between revisions of "Mod dav"

From SME Server
Jump to navigationJump to search
(Remove epoch number and update version number, added [[Template:Languages}} and [[Template:Level}})
m (Ported required configuration information from DAV_Enabled_Ibays to this page)
Line 14: Line 14:
 
Install the contrib:
 
Install the contrib:
 
  yum install smeserver-mod_dav --enablerepo=smecontribs
 
  yum install smeserver-mod_dav --enablerepo=smecontribs
 +
 +
=== Configuration ===
 +
DAV access is disabled for all ibays by default.
 +
====Enable DAV access for an ibay====
 +
To enable DAV access to an ibay use the following commands:
 +
/sbin/e-smith/db accounts setprop IbayName ModDav enabled
 +
/sbin/e-smith/signal-event ibay-modify IbayName
 +
====Disable DAV access for an ibay====
 +
To disable DAV access to an ibay use the following commands:
 +
/sbin/e-smith/db accounts setprop IbayName ModDav disabled
 +
/sbin/e-smith/signal-event ibay-modify IbayName
 +
 +
===Accessing Your DAV-Enabled Ibay===
 +
DAV-enabled Ibays can be accessed in any of several ways:
 +
 +
====through Windows My Network Places====
 +
# Open "My Network Places"
 +
# Select "Add a network place"
 +
# Choose "Next"
 +
# Choose "Another network location"
 +
# Enter the address to your DAV enabled ibay, for instance <nowiki>http://server/data</nowiki> or <nowiki>https://server/data</nowiki>
 +
 +
====through Internet Explorer====
 +
According to [http://forums.contribs.org/index.php?topic=33157.msg142168#msg142168 this post] you can allow Windows/Internet Explorer users to open your DAV-enabled Ibays in Explorer for read-write access directly from your website by using code similar to the lines below.
 +
 +
As a (normal) link:
 +
 +
<a href="<nowiki>http://localhost/data/</nowiki>">Link to folder</a>
 +
 +
As a webfolder:
 +
 +
<a href="" folder="<nowiki>http://localhost/data/</nowiki>">Link to data folder</a>
  
 
=== Additional information ===
 
=== Additional information ===

Revision as of 21:03, 25 November 2008


PythonIcon.png Skill level: Easy
The instructions on this page can be followed by a beginner.


Maintainer

Jonathan Martens

Version

Contrib 10:
Contrib 9:
smeserver-mod_dav
The latest version of smeserver-subversion is available in the SME Contribs repository.


Description

This contrib provides mod_dav for SME Server, it has been written to make sure it is installed as it is required by my Subversion contrib.

Installation

Install the contrib:

yum install smeserver-mod_dav --enablerepo=smecontribs

Configuration

DAV access is disabled for all ibays by default.

Enable DAV access for an ibay

To enable DAV access to an ibay use the following commands:

/sbin/e-smith/db accounts setprop IbayName ModDav enabled
/sbin/e-smith/signal-event ibay-modify IbayName

Disable DAV access for an ibay

To disable DAV access to an ibay use the following commands:

/sbin/e-smith/db accounts setprop IbayName ModDav disabled
/sbin/e-smith/signal-event ibay-modify IbayName

Accessing Your DAV-Enabled Ibay

DAV-enabled Ibays can be accessed in any of several ways:

through Windows My Network Places

  1. Open "My Network Places"
  2. Select "Add a network place"
  3. Choose "Next"
  4. Choose "Another network location"
  5. Enter the address to your DAV enabled ibay, for instance http://server/data or https://server/data

through Internet Explorer

According to this post you can allow Windows/Internet Explorer users to open your DAV-enabled Ibays in Explorer for read-write access directly from your website by using code similar to the lines below.

As a (normal) link:

<a href="http://localhost/data/">Link to folder</a>

As a webfolder:

<a href="" folder="http://localhost/data/">Link to data folder</a>

Additional information

This contrib only loads mod_dav for the httpd daemon and does not provide other configuration templates or a server-manager panel.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mod_dav component or use this link .