(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?
mark
On Wed, Mar 12, 2014 at 1:02 PM, 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?
Don't know anything about this specific case, but one thing that will get you is a redirect from apache if you omit the trailing / in the URL from the browser. That is, if the apache config has a handler for /trac/ but the user asks for http://server_name/trac, having that directory under your default DocumentRoot (actually probably /var/www/html/) will make apache redirect the browser to http://server_name/trac/ and make everything else work.
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
Peter Brady wrote:
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/
<snip> Thanks, Peter. Between you and Paul, and, of course, much googling, I've got it working. I was completely thrown off by, basically, *NOTHING* being under the DocumentRoot. Oh, and them having htdocs *under* their non-doc-root stuff.
Installing the agilo-plugin was easy (well, I'll know when my user gets going). Now shutting up selinux.... And no, what I found was *wrong*, it was telling you to use chcon, which does *not* last across reboots. semanage (bleah!)....
mark
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/12/2014 04:52 PM, m.roth@5-cent.us wrote:
Peter Brady wrote:
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/
<snip> Thanks, Peter. Between you and Paul, and, of course, much googling, I've got it working. I was completely thrown off by, basically, *NOTHING* being under the DocumentRoot. Oh, and them having htdocs *under* their non-doc-root stuff.
Installing the agilo-plugin was easy (well, I'll know when my user gets going). Now shutting up selinux.... And no, what I found was *wrong*, it was telling you to use chcon, which does *not* last across reboots. semanage (bleah!)....
mark
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Mark what changes did you have to make for SELinux?