On Tue, Dec 19, 2006 at 05:22:50AM -0000, Sergey wrote:

Try mapping common resources separately from /trac (e.g. /trac-static
or something like that). Because in your case /trac maps to a single
project, common resources are better off away from project-specific
URL. Then, set htdocs_location to that URI. It's also easier to
troubleshoot such setup BTW.
HTH,

Okay thanks - I'll bear that in mind. I had already got things working
though, by the time I actually read your message. Here is my working
setup:

alias.url = ("/trac/chrome/common" => "/usr/share/trac/htdocs")
$HTTP["url"] =~ "^/trac(?!/chrome/common)" {
url.access-deny = ("")
fastcgi.server = ("/trac" =>
                  ("trac" =>
                    ("socket" => "/tmp/fastcgi-trac.sock",
                     "bin-path" => "/usr/share/trac/cgi-bin/trac.fcgi",
                     "check-local" => "disable",
                     "bin-environment" =>
                       ("TRAC_ENV" => "/var/trac")
                    )
                  )
                )
}

It works fine, and I have all my static stuff accessible through the "usual" URL: /trac/chrome/common

Thanks,
Craig

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