# Uncomment the line below if you need to enable mod_python.
# Most distributions should do this for you automatically!
#LoadModule python_module @APACHE_MOD_DIR@/mod_python@SHARED_POSTFIX@

<IfModule mod_python.c>
Alias / @DATADIR@/@PACKAGE@/htdocs/

<Location />
    Order allow,deny
    Allow from all
    Options +FollowSymlinks
</Location>

<Location /user>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['@PYTHONDIR@']+sys.path"
    PythonHandler bongo.dragonfly.Server
    PythonOption DragonflyUriRoot "/user"
    PythonDebug On
</Location>

<Location /admin>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['@PYTHONDIR@']+sys.path"
    PythonHandler bongo.hawkeye.Server
    PythonOption HawkeyeUriRoot "/admin"
    PythonOption HawkeyeTmplRoot "@DATADIR@/@PACKAGE@/htdocs/hawkeye"
    PythonDebug On
</Location>
</IfModule>
