Changes

From SME Server
Jump to navigationJump to search
1,283 bytes added ,  20:28, 4 April 2013
Line 2,146: Line 2,146:  
  $passwd_cmd = "/usr/bin/zarafa-passwd -u '%s' -o '%s' -p '%s'";
 
  $passwd_cmd = "/usr/bin/zarafa-passwd -u '%s' -o '%s' -p '%s'";
    +
=== Password-change by users from outsite for webaccess/webapp (IF USING THE UNIX PLUGIN) ===
 +
==== Install Usermanager ====
 +
[[UserManager]]
 +
Install smeserver-userpanel and smeserver-userpanels
 +
==== nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/28UserManagerProxyPass ====
 +
<nowiki>
 +
{
 +
    # vim: ft=perl:
 +
    $haveSSL = (exists ${modSSL}{status} and ${modSSL}{status} eq "enabled") ?  'yes' : 'no';
 +
    $plainTextAccess = ${'httpd-admin'}{PermitPlainTextAccess} || 'no';
 +
    $OUT = '';
 +
    foreach $place ('user-manager','server-common','user')
 +
    {
 +
        if (($port eq "80") && ($haveSSL eq 'yes') && ($plainTextAccess ne 'yes'))
 +
        {
 +
            $OUT .= "    RewriteRule ^/$place(/.*|\$)    https://%{HTTP_HOST}/$place\$1 [L,R,NC]\n";
 +
        } else {
 +
            $OUT .= "    ProxyPass /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n";
 +
            $OUT .= "    ProxyPassReverse /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n";
 +
        }
 +
        $OUT .= "    <Location /$place>\n";
 +
        $OUT .= "        order deny,allow\n";
 +
        $OUT .= "        deny from all\n";
 +
        $OUT .= "        allow from all\n";   
 +
        $OUT .= "    </Location>\n";
 +
    }
 +
}
 +
</nowiki>
 +
 +
==== To save : ====
 +
CTRL + X
 +
yes
 +
<ENTER>
 
=== WebApp - OwnCloud attachment plug-in ===
 
=== WebApp - OwnCloud attachment plug-in ===
  
199

edits

Navigation menu