White, Joseph wrote:
> Hi All,
>  
> Sorry if I am asking silly questions, but until a week ago I had never
> heard of TRAC.
>  
> 1. I'm assuming the TracModPython configs goes in the
> /etc/httpd/conf/httpd.conf file, as the documentation doesn't say?

That's one place to put it.  The other would be in
/etc/httpd/conf.d/trac.conf, with a directive in the main httpd.conf like:
  Include conf.d/*.conf

> 2. If it does then what is the /etc/httpd/conf.d/trac.conf file for?
If you're working with an RPM or pre-packaged Trac, it sometimes helps to
specify your distro (ie Fedora), where you got the package (ie
Fedora-Extras), and what version you're using.

That said, using the "Include" directive and the conf.d/*.conf files makes
for easier upgrades of your main apache configuration without blowing away
parts that are easily separable.

> 3. Looking at the "Simple Configuration" from the
> http://trac.edgewall.org/wiki/TracModPython page.
>  
> If TRAC got installed to the /usr/local/trac/abc  directory, does this
> look correct?
>  
> <Location "/trac/abc">
>    SetHandler  mod_python
>    PythonHandler trac.web.modpython_frontend
>    PythonOption TracEnvParentDir /usr/local/trac/abc
>    PythonOption TracUriRoot /trac/abc
> </Location>

Looks ok to me.

> 4. There is also /var/lib/trac directory that is empty, what is the
> purpose of that directory?  I have seen some post where people have
> PythonOption set like this:    PythonOption TracEnvParentDir /var/lib/trac

You can put your trac data bases there (on-disk representations of databases
are supposed to go into /var).  You don't have to though.

> 5. Let us assume for a second that this was setup correctly, I point the
> browser at  https://www.myserver.com/?????????

https://www.myserver.com/trac/abc

(see the <Location "???????"> directive)

Matt
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to