Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: frifri on September 30, 2016, 01:57:16 PM
-
Hi,
I installed Nextcloud in a iBay and want to authenticate against LemonLDAP.
Created a subdomain for Nextcloud :
[root@sme ~]# db domains show cloud.pollet-ghys.be
cloud.pollet-ghys.be=domain
Authentication=LemonLDAP
Content=Primary
Description=Owncloud voor Pollet & Ghys
DocumentRoot=/home/e-smith/files/ibays/owncloud/html
Nameservers=corporate
TemplatePath=WebAppVirtualHost
owner=a06.pollet-ghys.be
Have this in httpd.conf :
<VirtualHost 0.0.0.0:443>
ServerName cloud.pollet-ghys.be
ServerAlias ftp.cloud.pollet-ghys.be mail.cloud.pollet-ghys.be proxy.cloud.pollet-ghys.be sme.cloud.pollet-ghys.be wpad.cloud.pollet-ghys.be www.cloud.pollet-ghys.be
# This virtualhost is configured to be protected by LemonLDAP NG
PerlHeaderParserHandler Lemonldap::NG::Handler
ErrorDocument 403 https://auth.pollet-ghys.be/?lmError=403
ErrorDocument 500 https://auth.pollet-ghys.be/?lmError=500
SSLEngine on
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
# alias for Apache icons
Alias /icons/ /var/www/icons/
DocumentRoot /home/e-smith/files/ibays/owncloud/html
</VirtualHost>
And this :
#------------------------------------------------------------
# owncloud ibay directories (Owncloud)
#------------------------------------------------------------
<Directory /home/e-smith/files/ibays/owncloud/html>
SSLRequireSSL
Options None
Options +Indexes
Options +FollowSymLinks
Options +Includes
php_admin_flag allow_url_fopen on
AllowOverride All
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/owncloud/cgi-bin>
Options ExecCGI
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/owncloud/files>
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
If i want to login on https://cloud.pollet-ghys.be, i am redirected to https://auth.pollet-ghys.be
I even can login on https://auth.pollet-ghys.be but after this login i need to login a second time on cloud.pollet-ghys.be to reach my files on cloud.pollet-ghys.be
Whats missing ?
Thanks,
F.
-
frifri, did you ever solved this issue? If so, could you please share?
TIA!
-
Hi RequestedDeletion,
No, i couldn't solve this.
F.
-
No, i couldn't solve this.
Maybe the httpd config for Dokuwiki can help. It works with LemonLDAP. It's in the fws repo.
http://pastebin.com/uUYMFB0f (http://pastebin.com/uUYMFB0f)