Lets try some basics then. What is the actual URL you are using to the browser when going to the login page?
Does the HTTP Basic authentication popup for the browser actually come up and with the correct Auth Realm showing? Is it this same login page which is showing the "Authentication information not available" error message from Trac? Were there any auth related error messages in the Apache error log file? Do the Apache error log files confirm that Apache was restarted after you changed the Apache configuration? Graham On Oct 9, 3:01 am, "Robert Rouse" <[EMAIL PROTECTED]> wrote: > I put them like that and there was no change there either. > > -----Original Message----- > From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Andy Hunn > Sent: Monday, October 08, 2007 11:12 AM > To: trac-users@googlegroups.com > Subject: [Trac] Re: Virtual Host with Multiple projects having login > problems. > > Try this: > > <Location /> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnvParentDir /var/trac/projects > PythonOption TracUriRoot / > </Location> > > <LocationMatch "/[^/]+/login"> > AuthType Basic > AuthName "Deksesuma Trac Server" > AuthUserFile /var/trac/.htpasswd > Require valid-user > </LocationMatch> > > Andrew Hunn > [EMAIL PROTECTED] > > Sypherlink, Inc. > 6500 Emerald Parkway, Suite 175 > Dublin, OH 43016 > TEL: 614.652.6100 x6219 > > -----Original Message----- > From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of Robert Rouse > Sent: Monday, October 08, 2007 10:20 AM > To: trac-users@googlegroups.com > Subject: [Trac] Virtual Host with Multiple projects having login > problems. > > I spoke too soon. I'm still getting the authentication not available > error > message. > > -----Original Message----- > From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On > Behalf Of Graham Dumpleton > Sent: Friday, October 05, 2007 5:46 PM > To: Trac Users > Subject: [!! SPAM] [Trac] Re: Virtual Host with Multiple projects having > login problems. > > Sorry, I missed the obvious when I first replied. Try: > > <LocationMatch "/[^/]+/login"> > AuthType Basic > AuthName "Deksesuma Trac Server" > AuthUserFile /var/trac/.htpasswd > Require valid-user > </LocationMatch> > > The Location directive by default only does glob style matching, not > regex. Thus you need to use LocationMatch with what you want to do. > > Graham > > On Oct 5, 9:48 pm, "Robert Rouse" <[EMAIL PROTECTED]> wrote: > > Hello, > > > I'm using a VPS with Plesk 8.2.1, so I'm running apache 2.0.58. > > > When I switched the directives around, nothing changed. > > > I might have to try wsgi if no one else comes up with a suggestion. > > > -----Original Message----- > > From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On > > > Behalf Of Graham Dumpleton > > Sent: Thursday, October 04, 2007 10:33 PM > > To: Trac Users > > Subject: [!! SPAM] [Trac] Re: Virtual Host with Multiple projects > having > > login problems. > > > On Oct 5, 10:43 am, Raiko <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I have the following directives in my apache configuration. > > > > <Location /> > > > SetHandler mod_python > > > PythonHandler trac.web.modpython_frontend > > > PythonOption TracEnvParentDir /var/trac/projects > > > PythonOption TracUriRoot / > > > </Location> > > > <Location "/[^/]+/login"> > > > AuthType Basic > > > AuthName "Deksesuma Trac Server" > > > AuthUserFile /var/trac/.htpasswd > > > Require valid-user > > > </Location> > > > > When I try to log in, I get the "Authentication information not > > > available" error message. I searched the group and I see similar > > > directives, but they don't work for me. > > > > If I put the directive under my main domain instead of a subdomain, > it > > > works. > > > What version of Apache are you using? > > > What happens if you change the order of the two Location directives > > around so the more specific one comes first? Does it still not work. > > > Does your physical document root directory specified by DocumentRoot > > directive have files and/or subdirectories which match the lead > > components of what would be the login URL? > > > FWIW, the way that the Location directive is used with mod_python to > > setup Trac causes a lot of problems at times because of interactions > > with physical files in actual document root. The way the directives > > are used in mod_wsgi avoids the problems that mod_python often has and > > you may find it simpler to use mod_wsgi. :-) > > > Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---