On Sat, Apr 16, 2011 at 2:43 PM, Hasibullah <[email protected]>wrote:

> Sallam Dear All
>
> I have configured the basic http authentication for trac, which works
> best.
>
> as shown bellow
>
>
> # cd /
> #httpasswd -c htpasswd newuser .
> then i typed the new password for new user.
>
> the htpasswd is located in (/htpasswd).
>
> Then i created a file in the Name of TracLogin.conf in /etc/apache/
> sites-enabled/TracLogin.conf
>
> and wrote this script
>
> <Directory /home/trac-for-my-proj/the-deploy/cgi-bin/trac.wsgi>
>  WSGIApplicationGroup %{GLOBAL}
>  Order deny,allow
>  Allow from all
> </Directory>
>
>  <Location '/'>
>    AuthType Basic
>    AuthName "Provide correct username and password"
>    AuthUserFile /htpasswd
>    Require valid-user
>  </Location>
> </VirtualHost>
>
>
>
> now the server can be accessed with user name and password, and when
> they login in the site, then they can't logout back.
> there should be a way to logout ?
>
> Logout is very important if the user want to login to some other user.
>
> please show me a way, or tell me if i have missed something
>

Hi

There is much to read about why this is, but the solution is to use:
http://trac-hacks.org/wiki/AccountManagerPlugin

<http://trac-hacks.org/wiki/AccountManagerPlugin>Cheers / Erik

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

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