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

 * TracEnv is the Trac project, on your installation it is /var/lib/trac/shop
 * You also need a rule to serve the static documents (images, css,
javascript) such as
  Alias /tracstatic "/usr/share/trac/htdocs"
  <Directory "/usr/share/trac/htdocs">
    # change this to match your own server security policy if required
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
 * and you need to tell Trac which URL it should emit for the static
documents, in trac.ini
   [trac]
   htdocs_location = /tracstatic/

Obviously, you can replace 'tracstatic' as you like, as long as you
update both Apache conf and Trac conf.

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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