Hi everyone,
I have some problems to do trac working on my ubuntu server 8.04
I would share these informations along every projects:
1. users authentication and permissions
2. python eggs cache
3. trac plugins
My steps are:
1. I've installed Trac 0.10.4 with apt-get;
2. I've installed Trac 0.11 with easy_install (http://
trac.edgewall.org/wiki/0.11/TracOnUbuntu)
3. I've created /usr/local/trac/eggs for python eggs cache
4. I've created /usr/local/trac/projects for store all projects
5. I've created a new user with trac-admin with TRAC_ADMIN permission
6. I've created /etc/apache2/htpasswd file
7. I've created /usr/local/trac/projects/trac.wsgi file like this:
-----------------------------------------------------
import os
os.environ['TRAC_ENV_PARENT_DIR'] = '/usr/local/trac/projects'
os.environ['PYTHON_EGG_CACHE'] = '/usr/local/trac/eggs'
import trac.web.main
application = trac.web.main.dispatch_request
-----------------------------------------------------
8. I've created /etc/apache2/site-available/trac file like this:
-----------------------------------------------------
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /usr/local/trac/projects>
WSGIScripAlias /trac /usr/local/trac/projects/trac.wsgi
<Directory /usr/local/trac/projects>
WSGIApplicationGroup %{GLOBAL}
Option Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order deny,allow
Allow from all
</Directory>
<LocationMatch /usr/local/trac/projects/login>
AuthType Basic
AuthName "Trac Server"
AuthUserFile /etc/apache2/htpasswd
Require valid-user
</LocationMatch>
</VirtualHost>
-----------------------------------------------------
Questions:
1. When I open the main page : http://mywebsite/trac it return:
-----------------------------------------------------
Available Projects
* Test Project
* login: Error
([Errno 2] No such file or directory: '/usr/local/trac/projects/
login/VERSION')
-----------------------------------------------------
2. When I go into 'Test Project' I see "Welcome to trac 0.10.4"
instead of 0.11
3. When I go to 'Login' page I get:
-----------------------------------------------------
Trac Error
Authentication information not available. Please refer to the
installation documentation.
-----------------------------------------------------
Can someone help me?
Tnx in advance!
Daniele.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---