On 13/03/14 5:02 AM, m.roth@5-cent.us wrote:
(Besides Paul, who's busy?)
I just need one question answered: I keep reading the docs, and given the old traditional /var/www I get that part of trac should be installed in /var/www/trac/<myproj> (I think); what I can't figure out is whether there is *anything* under the document root, that is, /var/www/html/trac/<myproject>.
Anyone have a clue? Do I even need it as a placeholder, or does anything actually go in there?
Hi Mark,
I've got a couple of centos 6 VMs running trac and subversion. One is a standalone single project and the other runs a multi-site install. trac was installed from EPEL.
For the single site install I've got a few things in /var/www/html:
[root@develop www]# ls html/ favicon.ico favicon.png svnindex.css svnindex.xsl [root@develop www]#
But they are mainly convenience formatting for subversion browsing.
Inside /var/www/trac is all the trac stuff, which was created via trac-admin.
Slightly different for the multi-site install in that the folder structure has an additional level:
[root@develop www]# pwd /var/www [root@develop www]# ls trac hydra mmm tuflowJobHist wma_admin [root@develop www]#
In this case, trac-admin creates the projects within the sub-folders. but the contents of /var/www are the same as above.
I also split out some of the static htdocs from trac to let apache cache them, so /var/www becomes:
[root@develop www]# ls cgi-bin error html icons lost+found svn trac trac-static [root@develop www]#
For both cases
/etc/httpd/conf.d/trac.conf
handles redirects, aliases, caching, cgi etc. With nothing in /var/www.
Hope this helps, -pete