Changes

Jump to navigation Jump to search
373 bytes added ,  09:59, 17 February 2011
m
Line 78: Line 78:  
  LemonLDAP enabled
 
  LemonLDAP enabled
 
  signal-event domain-create upload.$(db configuration get DomainName)
 
  signal-event domain-create upload.$(db configuration get DomainName)
 +
mkdir -p /etc/e-smith/templates-custom/usr/share/openupload/www/config.inc.php/
 +
cat <<'EOF' > /etc/e-smith/templates-custom/usr/share/openupload/www/config.inc.php/10paths
 +
 +
$CONFIG['WWW_SERVER'] = 'http://upload.{"$DomainName";}';
 +
 +
$CONFIG['WWW_ROOT'] = '/';
 +
 +
$CONFIG['INSTALL_ROOT'] = '/usr/share/openupload/';
 +
 +
$CONFIG['DATA_PATH'] = '/var/lib/openupload';
 +
EOF
 
  signal-event webapps-update
 
  signal-event webapps-update
   Line 116: Line 127:  
* Expression: (a|action)=login
 
* Expression: (a|action)=login
 
* Rule: logout_app https://upload.domain.tld/
 
* Rule: logout_app https://upload.domain.tld/
      
=== Backup and Restore ===
 
=== Backup and Restore ===

Navigation menu