2009/1/10 rupert.thurner <[email protected]>: > > do you have an idea how one would correctly set an alias to serve > static trac files, like icons, css, ... via apache without mod_XXX? > > i tried > AliasMatch /test/[^/]*/chrome/common /opt/csw/lib/python/site-packages/ > Trac-0.11.2.1-py2.5.egg/trac/htdocs
And if you use: AliasMatch /test/[^/]*/chrome/common /opt/csw/lib/python/site-packages/ Trac-0.11.2.1-py2.5.egg/trac/htdocs/ For directories, you need to have trailing slash on both sides. Graham > but this fails with an endless replace: > http://server.net/test/ecms/chrome/common/css/wiki.css/index.html/ind...... > > rupert. > > On Jan 6, 11:20 pm, "rupert.thurner" <[email protected]> wrote: >> On Jan 5, 11:57 pm, "Graham Dumpleton" <[email protected]> >> wrote: >> >> > 2009/1/6 rupert.thurner <[email protected]>: >> >> > Also, have you considered having Apache serve up static files >> > directly. I think there is something in Trac documentation about that, >> > but stupidly maybe under either mod_python or CGI instructions. >> >> i tried it, but i must be blind as this works >> Alias /test/tracproject1/chrome/common /opt/csw/lib/python/site- >> packages/Trac-0.11.2.1-py2.5.egg/trac/htdocs >> >> while this (to cope with trac parent environment) does not: >> >> >> it ends with "Firefox has detected that the server is redirecting the >> request for this address in a way that will never complete". the url: >> *http://server.net/test/ecms/chrome/common/css/wiki.css >> becomes: >> * >> >> rupert > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
