[Grok-dev] Middleware and Grok

bribon alvreinoso at gmail.com
Mon May 10 13:24:07 EDT 2010


I'm pretty close, but I don't know exactly how to modify the deploy.ini

This is part of my setup.py for the main application:

      entry_points = """
      grokserver-debug = grokcore.startup:interactive_debug_prompt
      grokserver-ctl = grokcore.startup:zdaemon_controller
      main = grokcore.startup:application_factory
      fileupload = fileupload:application_factory

And this is part of my deploy.ini file:

use = egg:Paste#translogger
setup_console_handler = False
logger_name = wsgi

# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
# on the console:
use = egg:z3c.evalexception#ajax
next = zope

use = egg:grokserver
filter-with = translogger

use = egg:grokserver#fileupload

use = egg:Paste#http
host =
port = 8080

# set the name of the zope.conf file
zope_conf = %(here)s/zope.conf

I've tried to modify deploy.ini file, but I haven't got it working. I know I
need to add pipeline filter, but I don't know how to do it.

Thanks in advance
View this message in context: http://old.nabble.com/Middleware-and-Grok-tp28378758p28512490.html
Sent from the Grok mailing list archive at Nabble.com.

More information about the Grok-dev mailing list