I'm trying to get Trac 1.0.1 working with AccountManager and Apache. My setup works fine using tracd standalone but I have a single project and don't want to have to go to /trac to reach my project. My trac url is http://trac - http://trac/trac would look ridiculous.
I followed the instructions here: https://trac-hacks.org/wiki/AccountManagerPlugin/AuthStores#HttpAuthStore I've got Apache 2.4.7 running on Ubuntu Trusty. Here's my Apache config: <VirtualHost *:80> ServerName trac.local DocumentRoot /trac/htdocs/ WSGIScriptAlias / /trac/cgi-bin/trac.wsgi <Directory /trac/cgi-bin/trac.wsgi> WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory> <Location /authFile> AuthType Basic AuthName trac AuthUserFile /trac/.htpasswd #Require valid-user </Location> </VirtualHost> My pertinent trac.ini file pieces: [account-manager] account_changes_notify_addresses = authentication_url = /authFile password_store = HttpAuthStore [components] acct_mgr.admin.* = enabled acct_mgr.htfile.* = disabled acct_mgr.http.httpauthstore = enabled acct_mgr.notification.* = enabled acct_mgr.register.* = enabled acct_mgr.svnserve.svnservepasswordstore = disabled acct_mgr.web_ui.* = enabled acct_mgr.web_ui.loginmodule = enabled trac.web.auth.loginmodule = disabled trac_gitolite.* = enabled tracext.git.* = enabled When acessing http://trac I'm getting the following error in my Apache error.log: [Mon May 15 18:48:02.748897 2017] [authz_core:error] [pid 53:tid 139840436287232] [client 172.17.0.1:41512] AH01630: client denied by server configuration: /trac/cgi-bin/trac.wsgi *How can I serve up Trac and AccountManager with Apache 2.4?* -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
