I've solved,

I had marked the rule as final.

Can I bind ldap anonymous or have define and user for bind?.

What's sintax for permit at a group of users?.

Other question, when I do bad configs in the cherokee admin, then server
is locked with "Gateway error" in the browser but I haven't data for the
problem.

How can I configure any log errors for view information?.

Regards.

El vie, 07-08-2009 a las 13:59 +0200, José Illescas Pérez escribió:
> Hello,
> 
> this is my configuration for vserver 30:
> 
> vserver!30!collect_statistics = 0
> vserver!30!collector!enabled = 0
> vserver!30!directory_index = index.php
> vserver!30!document_root = /home/crae
> vserver!30!keepalive = 1
> vserver!30!logger = combined
> vserver!30!logger!access!filename = /var/log/cherokee/crae.access
> vserver!30!logger!access!type = file
> vserver!30!logger!error!filename = /var/log/cherokee/crae.error
> vserver!30!logger!error!type = file
> vserver!30!logger!x_real_ip_access_all = 0
> vserver!30!logger!x_real_ip_enabled = 0
> vserver!30!nick = crae.jccm.es
> vserver!30!rule!500!auth = ldap
> vserver!30!rule!500!auth!base_dn = o=Junta de Castilla-La Mancha,c=es
> vserver!30!rule!500!auth!bind_dn = uid=pruebas,o=Junta de Castilla-La
> Mancha,c=es
> vserver!30!rule!500!auth!bind_pw = mypasswd
> vserver!30!rule!500!auth!filter = (uid=${user})
> vserver!30!rule!500!auth!methods = basic
> vserver!30!rule!500!auth!realm = LDAP
> vserver!30!rule!500!auth!server = ldap.jccm.es
> vserver!30!rule!500!auth!tls = 0
> vserver!30!rule!500!encoder!deflate = 0
> vserver!30!rule!500!encoder!gzip = 0
> vserver!30!rule!500!match = directory
> vserver!30!rule!500!match!directory = /
> vserver!30!rule!500!no_log = 0
> vserver!30!rule!500!only_secure = 0
> vserver!30!rule!400!encoder!gzip = 1
> vserver!30!rule!400!handler = fcgi
> vserver!30!rule!400!handler!balancer = round_robin
> vserver!30!rule!400!handler!balancer!source!1 = 2
> vserver!30!rule!400!handler!error_handler = 1
> vserver!30!rule!400!match = extensions
> vserver!30!rule!400!match!extensions = php
> vserver!30!rule!400!match!final = 0
> vserver!30!rule!300!document_root = /usr/share/cherokee/themes
> vserver!30!rule!300!handler = file
> vserver!30!rule!300!match = directory
> vserver!30!rule!300!match!directory = /cherokee_themes
> vserver!30!rule!300!match!final = 1
> vserver!30!rule!200!document_root = /usr/share/cherokee/icons
> vserver!30!rule!200!handler = file
> vserver!30!rule!200!match = directory
> vserver!30!rule!200!match!directory = /icons
> vserver!30!rule!200!match!final = 1
> vserver!30!rule!100!encoder!deflate = 0
> vserver!30!rule!100!encoder!gzip = 0
> vserver!30!rule!100!handler = common
> vserver!30!rule!100!handler!allow_dirlist = 1
> vserver!30!rule!100!handler!allow_pathinfo = 0
> vserver!30!rule!100!handler!backup = 0
> vserver!30!rule!100!handler!date = 1
> vserver!30!rule!100!handler!group = 0
> vserver!30!rule!100!handler!hidden = 0
> vserver!30!rule!100!handler!iocache = 1
> vserver!30!rule!100!handler!size = 1
> vserver!30!rule!100!handler!symlinks = 1
> vserver!30!rule!100!handler!theme = plain
> vserver!30!rule!100!handler!user = 0
> vserver!30!rule!100!match = default
> vserver!30!rule!100!match!final = 1
> vserver!30!rule!100!no_log = 0
> vserver!30!rule!100!only_secure = 0
> 
> I want ldap auth and permit all users from my ldap.
> 
> Can I bind ldap anonymous or have define and user for bind?.
> 
> Regards.
> 
> El vie, 07-08-2009 a las 13:43 +0200, José Illescas Pérez escribió:
> > El vie, 07-08-2009 a las 12:36 +0200, Alvaro Lopez Ortega escribió:
> > > On 07-ago-09, at 12:05, José Illescas Pérez wrote:
> > > 
> > > > But, I can't select auth ldap y validation mechanism. My list include:
> > > >
> > > > - None.
> > > > - Plain text file.
> > > > - Htpasswd file.
> > > > - Htdigest file.
> > > > - Fixed list.
> > > >
> > > > Where is auth ldap?. Is there any problem in my cherokee compilation  
> > > > and
> > > > don't include ldap support?, what configure parameters have I  
> > > > include?.
> > > 
> > > 
> > > Odds are it isn't available because it wasn't compiled.
> > > 
> > > ./configure looks for the ldap.h header and the libldap library. If  
> > > any of those files was not present, the ldap plug-ing would not be  
> > > compiled.
> > > 
> > > Most probably you will only have to install the LDAP development  
> > > package, and recompile+reinstall the server.
> > 
> > Ok, I've compiled cherokee with ldap support.
> > 
> > How can I configure for permit all users from my ldap server?
> > 
> > Regards.
> > 
> -- 
>      _  ____ ____ __  __
>     | |/ ___/ ___|  \/  | Jose Illescas Perez. Linux User #73559
>  _  | | |  | |   | |\/| | TFNO: +34 925 266 219 FAX: +34 925 266 300
> | |_| | |__| |___| |  | | El Webteam de http://www.jccm.es
>  \___/ \____\____|_|  |_| Junta de Comunidades de Castilla-La Mancha
> 
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
-- 
     _  ____ ____ __  __
    | |/ ___/ ___|  \/  | Jose Illescas Perez. Linux User #73559
 _  | | |  | |   | |\/| | TFNO: +34 925 266 219 FAX: +34 925 266 300
| |_| | |__| |___| |  | | El Webteam de http://www.jccm.es
 \___/ \____\____|_|  |_| Junta de Comunidades de Castilla-La Mancha

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to