There will be a file installed in $prefix/share/doc/bongo called bongo.conf. This file has a configuration for Bongo mod_python. Extra help can be provided here.
[edit] Configuring Dragonfly
Dragonfly uses an HTML frontend, managed by a python backend. So we have 2 things to define: HTML location and Python location.
The HTML is located in $prefix/share/bongo/htdocs. It can be easily added along with the other config requirements to your Apache's script, by copying the configuration below. Remember to change $prefix to the correct value:
<IfModule mod_python.c>
# Note that you cannot change the webroot to be anything other than /
# at the moment - otherwise, it will not work!
Alias / $prefix/share/bongo/htdocs/
<Location />
Order allow,deny
Allow from all
Options +FollowSymlinks
</Location>
<Location /user>
Order allow,deny
Allow from all
SetHandler python-program
PythonPath "['$prefix/lib/python2.4/site-packages']+sys.path"
PythonHandler bongo.dragonfly.Server
PythonOption DragonflyUriRoot "/user"
PythonDebug On
</Location>
<Location /admin>
Order allow,deny
Allow from all
SetHandler python-program
PythonPath "['$prefix/lib/python2.4/site-packages']+sys.path"
PythonHandler bongo.hawkeye.Server
PythonOption HawkeyeUriRoot "/admin"
PythonOption HawkeyeTmplRoot "$prefix/share/bongo/htdocs/hawkeye"
PythonDebug On
</Location>
</IfModule>
[edit] Restart Apache
Now you need to restart Apache by following the appropriate command:
[edit] Debian/GNU Linux & Ubuntu
# /etc/init.d/apache2 reload
[edit] Fedora
# service httpd restart
[edit] Redhat Enterprise Linux & CentOS
# service httpd restart
[edit] SUSE Linux
# rcapache2 restart
[edit] Complete
Now you can visithttp://hostname/in your browser.
Once this is done, you can move onto the next section. You may also want to consider optimizing your Apache installation for Dragonfly.
