Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
ac933eda
Commit
ac933eda
authored
Jun 08, 2010
by
vogelor
Browse files
The server-side of the webdav - support
parent
4994815b
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
docs/INSTALL_DEBIAN_5.0_courier_mydns.txt
View file @
ac933eda
...
...
@@ -127,6 +127,10 @@ apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apac
a2enmod suexec rewrite ssl actions include
# If you want to use webdav then run the following to enable the Apache webdav modules:
a2enmod dav_fs a2enmod dav auth_digest
# restart apache before continuing
/etc/init.d/apache2 restart
...
...
docs/INSTALL_DEBIAN_5.0_dovecot_bind.txt
View file @
ac933eda
...
...
@@ -95,6 +95,10 @@ apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apac
a2enmod suexec rewrite ssl actions include
# If you want webdav then run the following to enable the Apache webdav modules:
a2enmod dav_fs a2enmod dav auth_digest
# restart apache before continuing
/etc/init.d/apache2 restart
...
...
docs/INSTALL_DEBIAN_5.0_multiserver.txt
View file @
ac933eda
...
...
@@ -10,6 +10,11 @@ apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2
a2enmod suexec rewrite ssl actions include
# If you want webdav then run the following to enable the Apache webdav modules:
a2enmod dav_fs a2enmod dav auth_digest
apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
vi /etc/default/pure-ftpd-common
...
...
docs/INSTALL_DEBIAN_6.0_courier_mydns.txt
View file @
ac933eda
...
...
@@ -122,6 +122,10 @@ apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2
a2enmod suexec rewrite ssl actions include
# If you want webdav then run the following to enable the Apache webdav modules:
a2enmod dav_fs a2enmod dav auth_digest
# restart apache before continuing
/etc/init.d/apache2 restart
...
...
interface/web/sites/form/webdav_user.tform.php
View file @
ac933eda
...
...
@@ -96,8 +96,7 @@ $form["tabs"]['webdav'] = array (
),
'password'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'PASSWORD'
,
'encryption'
=>
'CRYPT'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'width'
=>
'30'
,
...
...
server/conf/vhost.conf.master
View file @
ac933eda
...
...
@@ -162,6 +162,13 @@
AssignUserId <tmpl_var name='system_user'> <tmpl_var name='system_group'>
</IfModule>
<IfModule dav>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
<tmpl_var name='apache_directives'>
</VirtualHost>
...
...
@@ -339,6 +346,13 @@
AssignUserId <tmpl_var name='system_user'> <tmpl_var name='system_group'>
</IfModule>
<IfModule dav>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
<tmpl_var name='apache_directives'>
</VirtualHost>
</IfModule>
...
...
server/mods-available/web_module.inc.php
View file @
ac933eda
...
...
@@ -40,7 +40,10 @@ class web_module {
'ftp_user_delete'
,
'shell_user_insert'
,
'shell_user_update'
,
'shell_user_delete'
);
'shell_user_delete'
,
'webdav_user_insert'
,
'webdav_user_update'
,
'webdav_user_delete'
);
//* This function is called during ispconfig installation to determine
// if a symlink shall be created for this plugin.
...
...
@@ -82,6 +85,7 @@ class web_module {
$app
->
modules
->
registerTableHook
(
'web_domain'
,
'web_module'
,
'process'
);
$app
->
modules
->
registerTableHook
(
'ftp_user'
,
'web_module'
,
'process'
);
$app
->
modules
->
registerTableHook
(
'shell_user'
,
'web_module'
,
'process'
);
$app
->
modules
->
registerTableHook
(
'webdav_user'
,
'web_module'
,
'process'
);
// Register service
$app
->
services
->
registerService
(
'httpd'
,
'web_module'
,
'restartHttpd'
);
...
...
@@ -112,6 +116,11 @@ class web_module {
if
(
$action
==
'u'
)
$app
->
plugins
->
raiseEvent
(
'shell_user_update'
,
$data
);
if
(
$action
==
'd'
)
$app
->
plugins
->
raiseEvent
(
'shell_user_delete'
,
$data
);
break
;
case
'webdav_user'
:
if
(
$action
==
'i'
)
$app
->
plugins
->
raiseEvent
(
'webdav_user_insert'
,
$data
);
if
(
$action
==
'u'
)
$app
->
plugins
->
raiseEvent
(
'webdav_user_update'
,
$data
);
if
(
$action
==
'd'
)
$app
->
plugins
->
raiseEvent
(
'webdav_user_delete'
,
$data
);
break
;
}
// end switch
}
// end function
...
...
server/plugins-available/apache2_plugin.inc.php
View file @
ac933eda
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment