On Thu, May 14, 2015 at 11:00 AM, Rick Macdonald <[email protected]> wrote: > > .htaccess in the trac directory contains a bunch of mod_rewrite rules > (RewriteCond/RewriteRule) for htdocs and index.fcgi. >
That answers my question. I haven't used .htaccess for web server configuration, but what I understand is that it contains the web server configuration that would otherwise go in httpd.conf, apache.conf or a virtual host configuration file. > Speaking of htdocs, I never could understand how to handle that properly. > The Trac instructions imply to me that one needs access to the apache > config to "do it right" and have them shared. I manually copy htdocs from > the Trac egg bundle into trac/htdocs. > You can extract the static assets using trac-admin $env deploy $deploy-dir: http://trac.edgewall.org/wiki/TracInstall#MappingStaticResources In your case, the exact command would be something like: ~/trac/python/bin/trac-admin ~/trac deploy ~/trac/www ... assuming I've interpreted your directory layout correctly. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
