Albert Chin
mod_python at mlists.thewrittenword.com
Tue Oct 14 22:53:59 EST 2003
On Tue, Oct 14, 2003 at 09:14:23PM -0400, perry.tew at cibavision.novartis.com wrote: > > Apache passes environment variables to an ErrorDocument that should provide > all the information you need for a custom response: > > here are some links: > http://httpd.apache.org/docs-2.0/mod/core.html#errordocument > *** see this **** http://httpd.apache.org/docs-2.0/custom-error.html > > so, the mod_python code would look like this: > > req.add_common_vars() > env_vars = req.subprocess_env > orig_req_uri = env_vars['REDIRECT_URL'] Thanks. That works! -- albert chin (china at thewrittenword.com)
|