<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>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: <A href="https://machine.uncc.edu/trac"><U><FONT
color=#0000ff
size=2>https://machine.uncc.edu/trac</U></FONT></A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>The problem I'm
having is now that I've tried to add authentication to one of the projects
when I request <A
href="https://machine.uncc.edu/trac/math/login">https://machine.uncc.edu/trac/math/login</A> I'm
getting an error that says "</SPAN></FONT><FONT face=Arial size=2><SPAN
class=298511122-27072006><FONT size=2>AssertionError: Authentication information
not available"</DIV></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=298511122-27072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>Can you take a look
at my httpd-vhosts.conf and see what I might have set wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298511122-27072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006><VirtualHost
152.15.47.139:443 ><BR> ServerName machine.uncc.edu<BR>
ServerAdmin <A
href="mailto:nospam@email.uncc.edu">nospam@email.uncc.edu</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>
DocumentRoot /export/home/wsadmin/websites/machine.uncc.edu/<BR>
ErrorLog logs/machine_error.log<BR>
CustomLog logs/machine_access.log combined<BR>
LogLevel error</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> <Directory
"/export/home/wsadmin/websites/machine.uncc.edu"><BR>
Options All <BR> AllowOverride All<BR> Order
allow,deny<BR> Allow from all<BR>
</Directory></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> # Web
Services Subversion<BR> <Location /ws-svn><BR> DAV
svn</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Map to a specific repository<BR> #SVNPath
/opt/subversion/web_services</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Map any directory in the following path as a repository<BR>
SVNParentPath /export/home/wsadmin/subversion</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Access Control Policy<BR> AuthzSVNAccessFile
/export/home/wsadmin/subversion/svn-access.conf</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Anonymous Access first, resort to real authentication if
needed<BR> Require valid-user </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
How to authenticate a user<BR> AuthType
Basic<BR> AuthName "ITS - Web Services Beta
Repository"<BR> AuthBasicProvider ldap<BR>
AuthLDAPURL <A
href="ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub">ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>
</Location><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Trac<BR> <Location /trac><BR> SetHandler
mod_python<BR> PythonHandler trac.web.modpython_frontend
<BR> PythonOption TracEnvParentDir
/export/home/wsadmin/trac<BR> PythonOption TracUriRoot
/trac<BR> </Location></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> # Web
Services Trac<BR> <Directory
"/export/home/wsadmin/trac/web_services"><BR> Order
allow,deny<BR> Allow from all<BR>
</Directory><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> # Math
Subversion<BR> <Location /math-svn><BR> DAV
svn</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Map to a specific repository<BR> SVNPath
/export/home/wsadmin/subversion/math</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Access Control Policy<BR> AuthzSVNAccessFile
/export/home/wsadmin/subversion/math/conf/svn-access.conf</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
Anonymous Access first, resort to real authentication if
needed<BR> Require valid-user</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> #
How to authenticate a user<BR> AuthType
Basic<BR> AuthName "Math Department Beta
Repository"<BR> AuthBasicProvider ldap<BR>
AuthLDAPURL <A
href="ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub">ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006>
</Location></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> # Math
Trac<BR> <Directory
"/export/home/wsadmin/trac/math"><BR> Order
allow,deny<BR> Allow from all<BR>
</Directory><BR> <Location /trac/math/login>
<BR> AuthType Basic<BR> AuthName "Math
Department"<BR> AuthBasicProvider ldap<BR>
AuthLDAPURL <A
href="ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub">ldaps://nds01.uncc.edu:636/ou=users,o=unccharlotte?cn?sub</A><BR>
</Location><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> SSLEngine
on<BR> SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL<BR>
SSLCertificateFile /export/home/wsadmin/ssl/machine.crt<BR>
SSLCertificateKeyFile /export/home/wsadmin/ssl/machine.key<BR>
SSLCACertificateFile /export/home/wsadmin/ssl/uncc.crt</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=298511122-27072006> SetEnvIf
User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0
force-response-1.0<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=298511122-27072006></VirtualHost><BR></SPAN></FONT><FONT
face=Verdana></FONT></DIV>
<DIV><FONT face=Verdana>Scott Lundgren</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#008000 size=2>ITS - Web
Services</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#008000 size=2>UNC at
Charlotte</FONT></DIV>
<DIV align=left><FONT face=Verdana size=2><A
href="http://www.uncc.edu/">http://www.uncc.edu</A></FONT></DIV>
<DIV align=left><STRONG><FONT face=Verdana color=#008000
size=2></FONT></STRONG> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>