In wsgi, that url is built from the environment parameter SCRIPT_NAME. I haven't used flup, but, I would guess it might be the same. I don't believe pyramid uses SCRIPT_NAME, but, paster.resolve prepends it when talking with Pyramid.
You might try something like: SCRIPT_NAME="" export SCRIPT_NAME in your wrapper, or in your constructor: os.environ['SCRIPT_NAME'] = ''; This is probably not a great thing to do, but, Apache's the rewritten url to generate SCRIPT_NAME and PATH_INFO to build the REQUEST_URI, and the behavior you want is to remove SCRIPT_NAME when REQUEST_URI is passed to the backend. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
