Thanks, this helped a lot. I've switched to mod_python now, and I can access my project at /trac.
However, I now get an error trying to login to the wiki: Internal Error, Authentication information not available. Here's what I have in httpd.conf now: # TracModPython ScriptAlias /trac /usr/local/share/trac/cgi-bin/trac.cgi ScriptAlias /project /usr/local/share/trac/cgi-bin/trac.cgi <Location /trac> SetEnv TRAC_ENV "/home/sherwood/projectTrac" </Location> <Location /project> SetEnv TRAC_ENV "/home/sherwood/projectTrac" </Location> <Location /home/sherwood/projectTrac> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /var/trac/projectTrac PythonOption TracUriRoot /home/sherwood/projectTrac PythonPath "sys.path + ['/usr/local/trac-0.10.3/lib/python2.4/site- packages'] + [/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac']" </Location> <Location "/home/sherwood/projectTrac/login"> AuthType Basic AuthName "projectTrac" #AuthUserFile /var/trac/projectTrac/.htpasswd AuthUserFile /home/sherwood/projectManagement/trac.htpasswd Require valid-user </Location> the htpasswd file is in /home/sherwood/projectManagement/trac.htpasswd I've tried it with AuthUserFile /var/trac/projectTrac/.htpasswd and AuthUserFile /home/sherwood/projectManagement/trac.htpasswd but neither one seems to work. Where should I put the htpasswd file for this to work? Thanks, Erik Sherwood Center for Applied Mathematics | Phone: (607) 255-4195 657 Rhodes Hall | Fax: (607) 255-9860 Cornell University | Email: [EMAIL PROTECTED] Ithaca, NY 14853 | Web: http://www.cam.cornell.edu/~sherwood On Jan 17, 2007, at 12:15 PM, Emmanuel Blot wrote: > >> [Wed Jan 17 10:27:10 2007] [error] [client 128.84.216.128] Directory >> index forbidden by rule: /home/sherwood/projectTrac/htdocs/ > > This means your browser tries to see the content of this directory > (i.e. the list of files), which is not authorized with your default > configuration. > You don't need to browse the content of this directory: you just want > Apache to serve the content of the files that are in stored in this > directory, not to see the directory listing. > >> How have I misconfigured apache? I'm not very experienced with it, so >> any guidance would be appreciated. > > You tried to access cam.cornell.edu/project for which no "executable" > rule has been defined: you want the Trac engine to receive and process > your request. > > The URL you want to browse with your config is probably more > something like: > http://cam.cornell.edu/trac > > I would nevertheless recommend that you do not use CGI at all, as the > web access will be deadly slow. Choose either mod_python or FastCGI. > > HTH, > Manu > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---