Hi All,

I tried to setup Trac (0.12b1) on a Ubuntu 9.10 host without success,
despite many different tests. Anybody could be so kind to tell me what
I'm doing wrong?

When I use the internal server on port 8000 it seems to work, for what
I can see with lynx. However when I point my browser to the host, I
see the following errors.

Available Projects

    * attachments: Error
      ((2, 'No such file or directory'))
    * cgi-bin: Error
      ((2, 'No such file or directory'))
    * conf: Error
      ((2, 'No such file or directory'))
    * db: Error
      ((2, 'No such file or directory'))
    * htdocs: Error
      ((2, 'No such file or directory'))
    * log: Error
      ((2, 'No such file or directory'))
    * plugins: Error
      ((2, 'No such file or directory'))
    * templates: Error
      ((2, 'No such file or directory'))

Here is what I do (SVN/apache are already configured). I want all trac
stuff in /mnt/svn/trac.kines.it
My temp dir: /mnt/svn/trac.kines.it/tmp
My env dir: /mnt/svn/trac.kines.it/tracenv
My web dir: /mnt/svn/trac.kines.it/www

I'm stuck.. please help!

# apt-get install python-setuptools python-subversion libapache2-mod-
python
# apt-get install build-essential graphviz
# apt-get install htmldoc enscript
# apt-get install python-pygment
# apt-get install python-docutils

# easy_install Trac
# easy_install Babel
# mkdir /mnt/svn/trac.kines.it
# cd /mnt/svn/trac.kines.it
# mkdir tracenv
# mkdir log stats tmp www
# chown www-data www tracenv tmp

# trac-admin /mnt/svn/trac.kines.it/tracenv  initenv

Project Name [My Project]> kines_api
Database connection string [sqlite:db/trac.db]>

# trac-admin /mnt/svn/trac.kines.it/tracenv  deploy /tmp/deploy
# mv /tmp/deploy/* /mnt/svn/trac.kines.it/tracenv/
# chown -R www-data tracenv/



<VirtualHost *:80>
        ServerName trac.kines.it
        DocumentRoot /mnt/svn/trac.kines.it/www
        ErrorLog /mnt/svn/trac.kines.it/log/error.log
        CustomLog /mnt/svn/trac.kines.it/log/access.log combined

        <Location />
                SetHandler mod_python
                PythonInterpreter main_interpreter
                PythonHandler trac.web.modpython_frontend
                PythonOption TracEnvParentDir /mnt/svn/trac.kines.it/
tracenv
                PythonOption TracUriRoot /
                PythonOption PYTHON_EGG_CACHE /mnt/svn/trac.kines.it/
tmp
        </Location>

        # use the following for one authorization for all projects
        # (names containing "-" are not detected):
        <LocationMatch "/[[:alnum:]]+/login">
            AuthType Basic
            AuthName "kines trac"
            AuthUserFile /mnt/svn/kines/conf/htpasswd
            Require valid-user
        </LocationMatch>

</VirtualHost>

-- 
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.

Reply via email to