So, I minor change here has fixed the prompt for login, at least..
<Location /trac/login> AuthType Basic AuthName "Trac" # Capital T for Trac AuthUserFile /srv/trac/dev/trac.htpasswd Require valid-user </Location> But now, I can not authenticate... ----- Original Message ---- From: a f <[email protected]> To: [email protected] Sent: Thu, August 19, 2010 12:30:44 PM Subject: [Trac] Trac + Apache Authentication Help Hi All, I am using Apache & Trac on top of Fedora 13. The following is my trac.conf for Apache: # The Location is the part after the host (http://example.com<Location>) that # you want to serve the Trac site <Location /trac> #using mod_wsgi in Apache httpd.conf instead #SetHandler mod_python #PythonHandler trac.web.modpython_frontend PythonOption TracEnv /srv/trac/dev PythonOption TracUriRoot /trac SetEnv PYTHON_EGG_CACHE /tmp PythonInterpreter trac </Location> <Location /trac/login> AuthType Basic AuthName "trac" AuthUserFile AuthUserFile /srv/trac/dev/trac.htpasswd Require valid-user </Location> <IfModule mod_dav.c> <Location /svn> # Uncomment this to enable the repository, DAV svn # Set this to the path to your repository SVNPath /srv/svn </Location> </IfModule> However, using this, the login page (http://192.168.2.20/trac/login) throws an error: Error: Not Found No handler matched request to /login BUT. If I change AuthUserFile to *anything* else, valid or otherwise, I do get prompted to login, but of course, can't. **HELP!** -- 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. -- 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.
