On Sun, Jul 19, 2009 at 11:19 PM, balu phani<[email protected]> wrote:
>
>
> hi,

Hi !

>
> and trac.conf is
> <Location /svn/trac/first_pro>
>   SetHandler mod_python
>   PythonHandler trac.web.modpython_frontend
>   PythonOption TracEnv /svn/trac/first_pro
>   PythonOption TracUriRoot /svn/trac/first_pro
>   AuthType Basic
>   AuthName "trac browser"
>   AuthPAM_Enabled on
>   AllowOverride None
>   Require group svnaccess
>   Require valid-user
> </Location>
>

Here it is possible that you be missing the following line [1]_ :

{{{
  AuthBasicProvider "pam"
}}}

> so when i try to browse it asking username and password after that is
> is giving 401 authorization required.
>
> in /http/log/error.log
> i found
> [Sun Jul 19 18:22:00 2009] [error] [client 192.168.2.42] PAM: user
> 'balu'  - invalid account: Permission denied
>

This seems to be that the user account is not found by Apache (and not
file permissions IMHO)

> but i was given full permissions for trac and svn folder.
> like
> drwxrwxrwx 10 root svnaccess   4096 Jul 19 17:05 first_pro
> (for testing) even it is not working and balu is member of svnaccess
> group.
>

Hmmmm ... the fact is that the user accessing those files is the one
used to run Apache (www-data in Ubuntu AFAIK)

> please help me.
>

Yes I'm on my way :)

.. [1] mod_authn_pam - Apache HTTP Server
        (http://mod-auth.sourceforge.net/docs/mod_authn_pam/)

-- 
Regards,

Olemis.

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

Featured article:

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