Hi folks

I have a really bad newbie question ;)

I can't quite make heads or tails of the documentation as regards 
directories:

I am running apache 2 on ubuntu dapper and have parts of ubuntu in the 
following directories:

[EMAIL PROTECTED]:/usr/share/trac# ls -al
total 24
drwxr-xr-x   7 root root   86 2007-02-15 01:09 .
drwxr-xr-x 150 root root 4096 2007-02-22 12:32 ..
drwxr-xr-x   2 root root   37 2007-02-15 01:09 cgi-bin
drwxr-xr-x   4 root root 4096 2007-02-15 01:09 htdocs
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 templates
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 wiki-default
drwxr-xr-x   2 root root 4096 2007-02-15 01:09 wiki-macros

seems to be the general installation directory, but htdocs only contains:

[EMAIL PROTECTED]:/usr/share/trac/htdocs# ls -al
total 120
drwxr-xr-x 4 root root 4096 2007-02-15 01:09 .
drwxr-xr-x 7 root root   86 2007-02-15 01:09 ..
-rw-r--r-- 1 root root  222 2005-08-27 16:55 asc.png
-rw-r--r-- 1 root root  294 2004-11-17 11:01 changeset.png
-rw-r--r-- 1 root root  297 2004-11-17 11:01 closedticket.png
drwxr-xr-x 2 root root 4096 2007-02-15 01:09 css
-rw-r--r-- 1 root root  222 2005-08-27 16:55 desc.png
-rw-r--r-- 1 root root   50 2004-02-23 18:15 dots.gif
-rw-r--r-- 1 root root 4953 2005-08-22 23:13 draft.png
-rw-r--r-- 1 root root 2231 2005-08-27 16:55 edgewall.png
-rw-r--r-- 1 root root  241 2005-05-06 11:03 editedticket.png
-rw-r--r-- 1 root root  977 2005-08-27 16:55 edit_toolbar.png
-rw-r--r-- 1 root root   90 2005-08-27 16:55 extlink.gif
-rw-r--r-- 1 root root  285 2005-08-27 16:55 filedeny.png
-rw-r--r-- 1 root root  285 2004-05-19 04:59 file.png
-rw-r--r-- 1 root root  357 2005-08-27 16:55 folderdeny.png
-rw-r--r-- 1 root root  357 2004-05-19 04:59 folder.png
-rw-r--r-- 1 root root  347 2005-08-27 16:55 ics.png
-rw-r--r-- 1 root root  205 2005-08-27 16:55 imggrid.png
drwxr-xr-x 2 root root   56 2007-02-15 01:09 js
-rw-r--r-- 1 root root  245 2005-08-27 16:55 milestone.png
-rw-r--r-- 1 root root  227 2004-11-17 11:01 newticket.png
-rw-r--r-- 1 root root  228 2005-08-27 16:55 parent.png
-rw-r--r-- 1 root root  268 2004-02-14 22:01 README
-rw-r--r-- 1 root root  309 2005-08-27 16:55 topbar_gradient2.png
-rw-r--r-- 1 root root  350 2004-02-23 18:15 topbar_gradient.png
-rw-r--r-- 1 root root 2161 2004-11-02 20:10 trac_banner.png
-rw-r--r-- 1 root root 3638 2004-10-26 12:50 trac.ico
-rw-r--r-- 1 root root  689 2005-08-27 16:55 trac_logo_mini.png
-rw-r--r-- 1 root root  233 2004-11-17 11:01 wiki.png
-rw-r--r-- 1 root root  452 2005-08-27 16:55 xml.png

so is no use as a root directory

there is also a bunch of stuff under:

[EMAIL PROTECTED]:/usr/lib/python2.4/site-packages/trac# ls -al
total 616
drwxr-xr-x  9 root root  4096 2007-02-15 01:09 .
drwxr-xr-x 20 root root  4096 2007-02-16 14:09 ..
-rw-r--r--  1 root root  9577 2006-01-04 16:45 About.py
-rw-r--r--  1 root root  9431 2007-02-15 01:09 About.pyc
-rw-r--r--  1 root root  9431 2007-02-15 01:09 About.pyo
-rw-r--r--  1 root root 18201 2006-01-04 16:45 attachment.py
-rw-r--r--  1 root root 15291 2007-02-15 01:09 attachment.pyc
-rw-r--r--  1 root root 15163 2007-02-15 01:09 attachment.pyo
-rw-r--r--  1 root root  5250 2006-01-04 16:45 config.py
-rw-r--r--  1 root root  4975 2007-02-15 01:09 config.pyc
-rw-r--r--  1 root root  4975 2007-02-15 01:09 config.pyo
-rw-r--r--  1 root root  7754 2006-01-04 16:45 core.py
-rw-r--r--  1 root root  6949 2007-02-15 01:09 core.pyc
-rw-r--r--  1 root root  6729 2007-02-15 01:09 core.pyo
-rw-r--r--  1 root root 15860 2006-01-04 16:45 db_default.py
-rw-r--r--  1 root root 12215 2007-02-15 01:09 db_default.pyc
-rw-r--r--  1 root root 12215 2007-02-15 01:09 db_default.pyo
-rw-r--r--  1 root root 17142 2005-12-01 11:45 db.py
-rw-r--r--  1 root root 17749 2007-02-15 01:09 db.pyc
-rw-r--r--  1 root root 17680 2007-02-15 01:09 db.pyo
-rw-r--r--  1 root root 14675 2006-01-04 16:45 env.py
-rw-r--r--  1 root root 15258 2007-02-15 01:09 env.pyc
-rw-r--r--  1 root root 15165 2007-02-15 01:09 env.pyo
-rw-r--r--  1 root root  1813 2006-01-08 13:57 __init__.py
-rw-r--r--  1 root root  2026 2007-02-15 01:09 __init__.pyc
-rw-r--r--  1 root root  2026 2007-02-15 01:09 __init__.pyo
-rw-r--r--  1 root root  4735 2006-01-04 16:45 loader.py
-rw-r--r--  1 root root  3312 2007-02-15 01:09 loader.pyc
-rw-r--r--  1 root root  3312 2007-02-15 01:09 loader.pyo
-rw-r--r--  1 root root  2665 2006-01-04 16:45 log.py
-rw-r--r--  1 root root  2267 2007-02-15 01:09 log.pyc
-rw-r--r--  1 root root  2267 2007-02-15 01:09 log.pyo
drwxr-xr-x  2 root root  4096 2007-02-15 01:09 mimeview
-rw-r--r--  1 root root 12901 2006-01-04 16:45 Notify.py
-rw-r--r--  1 root root 12473 2007-02-15 01:09 Notify.pyc
-rw-r--r--  1 root root 12473 2007-02-15 01:09 Notify.pyo
-rw-r--r--  1 root root 10549 2006-01-04 16:45 perm.py
-rw-r--r--  1 root root 11125 2007-02-15 01:09 perm.pyc
-rw-r--r--  1 root root 11125 2007-02-15 01:09 perm.pyo
drwxr-xr-x  2 root root   109 2007-02-15 01:09 scripts
-rw-r--r--  1 root root  9164 2006-01-04 16:45 Search.py
-rw-r--r--  1 root root  8946 2007-02-15 01:09 Search.pyc
-rw-r--r--  1 root root  8946 2007-02-15 01:09 Search.pyo
-rw-r--r--  1 root root  2337 2006-01-04 16:45 Settings.py
-rw-r--r--  1 root root  2469 2007-02-15 01:09 Settings.pyc
-rw-r--r--  1 root root  2469 2007-02-15 01:09 Settings.pyo
-rw-r--r--  1 root root   355 2006-01-11 10:43 siteconfig.py
-rw-r--r--  1 root root   475 2007-02-15 01:09 siteconfig.pyc
-rw-r--r--  1 root root   475 2007-02-15 01:09 siteconfig.pyo
-rwxr-xr-x  1 root root  5542 2006-01-04 16:45 test.py
-rw-r--r--  1 root root  6155 2007-02-15 01:09 test.pyc
-rw-r--r--  1 root root  6155 2007-02-15 01:09 test.pyo
drwxr-xr-x  2 root root  4096 2007-02-15 01:09 ticket
-rw-r--r--  1 root root  7016 2006-01-04 16:45 Timeline.py
-rw-r--r--  1 root root  6774 2007-02-15 01:09 Timeline.pyc
-rw-r--r--  1 root root  6774 2007-02-15 01:09 Timeline.pyo
drwxr-xr-x  2 root root  4096 2007-02-15 01:09 upgrades
-rw-r--r--  1 root root 20467 2006-01-04 16:45 util.py
-rw-r--r--  1 root root 21211 2007-02-15 01:09 util.pyc
-rw-r--r--  1 root root 21211 2007-02-15 01:09 util.pyo
drwxr-xr-x  3 root root  4096 2007-02-15 01:09 versioncontrol
drwxr-xr-x  2 root root  4096 2007-02-15 01:09 web
drwxr-xr-x  2 root root  4096 2007-02-15 01:09 wiki

and finally my project directory is under:

[EMAIL PROTECTED]:/var/lib/trac/shop# ls -al
total 8
drwxr-xr-x 9 root root 133 2007-02-24 00:33 .
drwxr-xr-x 3 root root  17 2007-02-24 00:33 ..
drwxr-xr-x 2 root root   6 2007-02-24 00:33 attachments
drwxr-xr-x 2 root root  21 2007-02-24 00:33 conf
drwxr-xr-x 2 root root   6 2007-02-24 00:33 htdocs
drwxr-xr-x 2 root root   6 2007-02-24 00:33 log
drwxr-xr-x 2 root root   6 2007-02-24 00:33 plugins
-rw-r--r-- 1 root root  98 2007-02-24 00:33 README
drwxr-xr-x 2 root root 103 2007-02-24 00:33 templates
-rw-r--r-- 1 root root  27 2007-02-24 00:33 VERSION
drwxr-xr-x 2 root root   6 2007-02-24 00:33 wiki-macros

so in the following statement

<Location /projects/myproject>
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /var/trac/myproject
    PythonOption TracUriRoot /projects/myproject
</Location>

I assume /projects/myproject correlates to /var/lib/trac/shop

but I have no idea where to point TracEnv?

Help!!

thanks muchly

Bernhard
-- 
Graylion's Fetish & Fashion Store
Goth and Kinky Boots, Clothing and Jewellery
http://www.graylion.net

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