Hi guys,

I'm a real Trac Lover! So since Years I use tracs hosted by different
projects and hosted by myself with the Trac demon. But now I wanted to
try to host it with my apache and after some hours everything worked.
But I am still not happy with the result, because it works just with
like a hack. Please review my configuration and see if it is worth a
Ticket for a change. All configuration file contents will be listed in
the end.

Issue Number one: Even the documentation says that it is not possible
to deploy into the project itself. But not the help, or documentation
or source code give any hint why that is the case. On the other hand
it is not possible to create a project before deploying if it is not
created yet. For that case there is no reason to find, too.

Issue Number two: deploy puts all css files in <deploy-path>/htodcs/
common/css/xyz.css. But the html files then ask for <domain>/<trac-
location>/chrome/common/css/xyz.css. Why that? I had to put in a
softlink named "chrome" to "htdocs" in my trac project and now it
works.

Maybe both issues arised because I didn't read something, or because
english is a foreign language to me. I don't know. So please don't get
upset, if I just made a mistake and nobody else on this planet has
this problem.

Here comes my configuration (just for the interested eyes):

System:
SuSE 11.1
Python 2.6
Trac 0.11

Filesystem (project initialised with the path under pwd):
$ pwd
/srv/www/htdocs/tracsdgm
$ ls -al
drwxr-xr-x 9 wwwrun www  4096  9. Dez 16:06 .
drwxr-xr-x 5 wwwrun www  4096  9. Dez 15:53 ..
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:18 attachments
lrwxrwxrwx 1 wwwrun www    7  9. Dez 16:06 chrome -> htdocs/
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:18 conf
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:27 db
drwxr-xr-x 4 wwwrun www  4096  9. Dez 14:23 htdocs
-rw-r--r-- 1 root   root   19  9. Dez 14:45 .htpasswd
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:18 log
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:18 plugins
-rw-r--r-- 1 wwwrun www    98  9. Dez 14:18 README
drwxr-xr-x 2 wwwrun www  4096  9. Dez 14:18 templates
-rw-r--r-- 1 wwwrun www    27  9. Dez 14:18 VERSION

python.conf for apache:
<Location "/tracsdgm/">
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /srv/www/htdocs/tracsdgm/
#  PythonOption TracUriRoot /tracsgdm/
  PythonDebug On
  PythonPath "sys.path + ['/usr/local/lib/python2.6/site-packages/
Trac-0.11.6-py2.6.egg/trac/']"

  AuthType Basic
  AuthName "ProjectName"
  AuthUserFile /srv/www/htdocs/tracsdgm/.htpasswd
  Require valid-user
</Location>


everything else is unchanged.

Thanks for Ur time!

--

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