[Trac] Authentication Failure

Emmanuel Blot manu.blot at gmail.com
Thu Jul 27 19:33:27 CDT 2006


You do not seem to have a "Require" directive for the /trac/math/login Location.

HTH,
Manu

On 7/28/06, Lundgren, Scott <SELundgr at email.uncc.edu> wrote:
>
>
> I'm using Trac 0.9.4 and Apache 2.2.0 with mod_python 3.14 to set up
> multiple trac projects under a secure host: https://machine.uncc.edu/trac
> The problem I'm having is now that I've tried to add authentication to one
> of the projects when I request
> https://machine.uncc.edu/trac/math/login I'm getting an
> error that says "AssertionError: Authentication information not available"
>
> Can you take a look at my httpd-vhosts.conf and see what I might have set
> wrong?
>
> <VirtualHost 152.15.47.139:443 >
>   ServerName machine.uncc.edu
>   ServerAdmin nospam at email.uncc.edu
>
>   DocumentRoot
> /export/home/wsadmin/websites/machine.uncc.edu/
>   ErrorLog      logs/machine_error.log
>   CustomLog  logs/machine_access.log combined
>   LogLevel      error
>
>   <Directory
> "/export/home/wsadmin/websites/machine.uncc.edu">
>     Options All
>     AllowOverride All
>     Order allow,deny
>     Allow from all
>   </Directory>
>
>   # Web Services Subversion
>   <Location /ws-svn>
>     DAV svn
>
>     # Map to a specific repository
>     #SVNPath /opt/subversion/web_services
>
>     # Map any directory in the following path as a repository
>     SVNParentPath /export/home/wsadmin/subversion
>
>     # Access Control Policy
>     AuthzSVNAccessFile
> /export/home/wsadmin/subversion/svn-access.conf
>
>     # Anonymous Access first, resort to real authentication if needed
>     Require valid-user
>
>     # How to authenticate a user
>     AuthType Basic
>     AuthName "ITS - Web Services Beta Repository"
>     AuthBasicProvider ldap
>     AuthLDAPURL
> ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub
>
>   </Location>
>
>   # Trac
>   <Location /trac>
>     SetHandler mod_python
>     PythonHandler trac.web.modpython_frontend
>     PythonOption TracEnvParentDir /export/home/wsadmin/trac
>     PythonOption TracUriRoot /trac
>   </Location>
>
>   # Web Services Trac
>   <Directory "/export/home/wsadmin/trac/web_services">
>     Order allow,deny
>     Allow from all
>   </Directory>
>
>   # Math Subversion
>   <Location /math-svn>
>     DAV svn
>
>     # Map to a specific repository
>     SVNPath /export/home/wsadmin/subversion/math
>
>     # Access Control Policy
>     AuthzSVNAccessFile
> /export/home/wsadmin/subversion/math/conf/svn-access.conf
>
>     # Anonymous Access first, resort to real authentication if needed
>     Require valid-user
>
>     # How to authenticate a user
>     AuthType Basic
>     AuthName "Math Department Beta Repository"
>     AuthBasicProvider ldap
>     AuthLDAPURL
> ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub
>
>   </Location>
>
>   # Math Trac
>   <Directory "/export/home/wsadmin/trac/math">
>     Order allow,deny
>     Allow from all
>   </Directory>
>   <Location /trac/math/login>
>     AuthType Basic
>     AuthName "Math Department"
>     AuthBasicProvider ldap
>     AuthLDAPURL
> ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub
>   </Location>
>
>   SSLEngine on
>   SSLCipherSuite
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
>   SSLCertificateFile /export/home/wsadmin/ssl/machine.crt
>   SSLCertificateKeyFile
> /export/home/wsadmin/ssl/machine.key
>   SSLCACertificateFile /export/home/wsadmin/ssl/uncc.crt
>
>   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> downgrade-1.0 force-response-1.0
>
> </VirtualHost>
>
> Scott Lundgren
> ITS - Web Services
> UNC at Charlotte
> http://www.uncc.edu
>
>
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>
>
>


-- 
Manu


More information about the Trac mailing list