On Fri, Jan 23, 2009 at 3:29 AM, Steve Warin <[email protected]> wrote:
>
> Hi Olemis,
>

Hi ...

> Thanks for response.
>

:)

> The httpd.conf entry
> was...
>
> <Location /projects>
>   SetHandler mod_python
>   PythonInterpreter main_interpreter
>   PythonHandler trac.web.modpython_frontend
>   PythonOption TracEnvParentDir C:\trac-projects
>   PythonOption TracUriRoot /projects
>   PythonDebug on
>
>   AuthType Basic
>   AuthName "Trac"
>   AuthUserFile C:\trac-projects\trac-passwd-file
>   Require valid-user
> </Location>
>

In my site httpd,conf looks like this ... I use LDAP auth ...

{{{
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule ldap_module modules/mod_ldap.so

<Location /trac>
  Order deny,allow
  Allow from all
  AuthBasicProvider ldap
  AuthzLDAPAuthoritative Off
  AuthLDAPURL 
"ldap://<ldap_server>:389/<base_dn>?sAMAccountName?sub?(objectClass=user)"

  AuthLDAPBindDN "user@<domain>"
  AuthLDAPBindPassword <letmeinplease ... XD>
  AuthType Basic
  AuthName "<realm>"
  require valid-user
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /path/to/multienv/dir
</Location>
}}}

The differences I see are The following :

- No «Order» clause
- «Allow from» is missing ... as well as «AuthBasicProvider»
- I didnot use «PythonOption TracUriRoot» ...
- «PythonDebug» setting is not there in my conf ... but I dont think
   that's the problem ... really ...

Anyway ... perhaps you come p with new ideas after considering all this ... ;)

PD: The config shown above does not allow users to perform a real
logout in my Trac envs ... I dont know why ... yet ... :(

Does anyone know why ? I already posted this «bug» in a separate
thread and the results were something like ... «enjoy the silence» ...
:(

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Sobrepasa las 100 descargas el módulo dutest

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to