From this page TRAC - openSUSE I was able to get most of the steps done for installing trac from the readme. I still have a few steps left, here are my remaining ?'s.
-
I am supposed to add TRAC_MODPYTHON to APACHE_SERVER_FLAGS, how do I do this? (I’m trying to use trac with apache and modpython.
-
When I do run trac from a browser what would the url be? I’ve done the default installation steps, and so far nothing is in the htdocs folder, so if my domain is example.com, what would the url be? Did I miss a step in the installation where I am supposed to move something into htdocs? On the Suse readme in file:///usr/share/doc/packages/trac/README.SUSE.html it didn’t say anything about moving files into my webroot.
-
I noticed that when I setup mod_python from this page Embedding Python In Apache2 With mod_python (Debian/Ubuntu, Fedora/CentOS, Mandriva, OpenSUSE) - Page 3 | HowtoForge - Linux Howtos and Tutorials it has two different <Directory /srv/www/htdocs/>, on the second time it tells you to set it up for psp, it says one previously wasn’t there haha. What should the <Directory /srv/www/htdocs/>
look like? Right now I have:
<Directory /srv/www/htdocs/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_python .py
AddHandler mod_python .psp
PythonHandler mod_python.publisher
PythonHandler mod_python.psp
PythonDebug On
</Directory>
My browser gives me a 404 when I go to .psp files, .py are working fine.