I'm trying to upgrade to .10 but I've seemed to misconfigure something.
When I go to my install of trac (at, for example: www.site.com/trac)
I'm presented with just an h1 of "Available Projects". It doesn't list
a single project!
in my vhosts file, I've set up the following configuration:
<VirtualHost *:80>
### trac
Alias /trac/ "/home/www/web4/web/trac"
<Directory "/home/www/web4/web/trac">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/home/www/web4/web/trac/htdocs"
PythonOption TracUriRoot "/trac"
</Directory>
</VirtualHost>
I got to believe that the fault is with TracEnvParentDir. From what
I've read, TracEnvParentDir is suppose to be just TracEnv, but if I
change it to the following configuration, I get 500 errors.
### trac
Alias /trac/ "/home/www/web4/web/trac/"
<Directory "/home/www/web4/web/trac/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv "/home/www/web4/web/trac"
PythonOption TracUriRoot "/trac/"
</Directory>
Or if I change it back to this:
### trac
Alias /trac/ "/home/www/web4/web/trac/"
<Directory "/home/www/web4/web/trac/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/home/www/web4/web/trac"
PythonOption TracUriRoot "/trac/"
</Directory>
that runs me into this:
http://groups.google.com/group/trac-users/msg/47bb357c7fa90755
Available Projects
attachments: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/attachments/VERSION')
conf: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/conf/VERSION')
db: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/db/VERSION')
htdocs: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/htdocs/VERSION')
log: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/log/VERSION')
plugins: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/plugins/VERSION')
templates: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/templates/VERSION')
wiki-macros: Error
([Errno 2] No such file or directory:
'/home/www/web4/web/trac/wiki-macros/VERSION')
Any idea on why my configuration isn't working?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---