LoadModule auth_pam_module /usr/lib/httpd/modules/mod_auth_pam.so
LoadModule auth_sys_group_module /usr/lib/httpd/modules/
mod_auth_sys_group.so
and in /etc/pam.d/httpd
##%PAM-1.0
auth required /lib/security/pam_unix.so
account required /lib/security/pam_unix.so
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>
i was given full permissions for trac and svn folder (for testing).
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.
in /http/log/error.log
i found