views:

48

answers:

0

Hello!

So I have a django application that generates html that have server side includes in them. So in my apache config I added to the Directory directive SetOutputFilter INCLUDES my problem is mod include will process the include in the generated page but it if the include contain includes those do not get processed. Anyone know how to get around this?

This is the gistof it.

<Directory "/dir">
    Options +Includes
    SetHandler python-program
    SetOutputFilter INCLUDES
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE urr.settings
    PythonOption django.root /urr
    PythonInterpreter urr
    PythonDebug On
    PythonPath "'/dir' + sys.path"
</Directory>