I have just installed Trac on a Debian system running Lighttpd. So far,
so good, everything works fine.

I would like to create several users and have every user log in via a
html web form, so I installed the iniAdmin and the AccountManager
plugins. These lines were added to my trac.ini:

[components]
acct_mgr.admin = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
trac.web.auth.LoginModule = disabled
iniadmin.iniadmin.iniadminplugin = enabled

[account-manager]
force_passwd_change = true
htpasswd_hash_type =
password_file = /var/www/trac/trac.htpasswd
password_format = htpasswd
password_store = HtPasswdStore
persistent_sessions = False
refresh_passwd = False
user_lock_max_time = 0
verify_email = False

However, no login form is displayed.
The whole web directory of this server is protected, since the server is
used for development only, hence is not publicly accessible. Directory
protection is handled via Lighttpd.conf:

auth.require = ( "/" =>
  (
    "method" => "basic",
    "realm" => "Authorized personel only",
    "require" => "user=myUser"
  )
)

Corresponding entry for Trac:

var.fcgi_binary="/var/www/trac/cgi-bin/trac.fcgi"
fastcgi.server = ("/trac" =>

                   ("trac" =>
                     ("socket" => "/tmp/trac-fastcgi.sock",
                      "bin-path" => fcgi_binary,
                      "check-local" => "disable",
                      "bin-environment" =>
                        ("TRAC_ENV" => "/var/www/trac/myProject")
                     )
                   )
                 )

When I access myUrl.com/trac via a browser, I perform the http
authentication and the trac index page is displayed -- it shows I am
already logged in as "myUser". I can't even log out of trac.

The idea is to keep the http authentication to protect the whole web
server from public access, but still have a login for trac, so different
users can use Trac.

Any help on how to do this would be much appreciated.

Heiko

-- 
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