I have changed my pipeline:main, to:

[pipeline:main]
pipeline = error_catcher egg:Paste#recursive transformer authenticate 
database appmain
filter-with = admin-prefix

and

[filter:admin-prefix]
use = egg:PasteDeploy#prefix
prefix = /admin

[server:main]
use = egg:PasteScript#wsgiutils
# Change to 0.0.0.0 to make public:
host = 0.0.0.0
port = 3182

Then I setup a proxy rewrite rule in apache. But when I access the 
server via apache, I get this:

2008-03-11 15:50:40,026 ERROR Traceback (most recent call last):
  File 
"/usr/local/lib/python2.4/site-packages/WSGIUtils-0.7-py2.4.egg/wsgiutils/wsgiServer.py",
 
line 126, in runWSGIApp
  File "/usr/local/src/Paste/paste/translogger.py", line 67, in __call__
    return self.application(environ, replacement_start_response)
TypeError: composed() takes exactly 1 argument (2 given)


Is it not possible to filter a pipeline with #prefix?



-- 
Brad Clements,                [EMAIL PROTECTED]    (315)268-1000
http://www.murkworks.com                          
AOL-IM: BKClements


_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to