On Jan 4, 9:27 pm, "Max Ischenko" <[email protected]> wrote:
> > Anyway, the specific mod_wsgi issue for this feature is:
>
> > http://code.google.com/p/modwsgi/issues/detail?id=57
>
> > Although I created an issue for it, no one has actually ever asked for
> > this feature so it has been given quite low priority.
>
> > So, if you really need this ability in a hurry, run Paste server
> > behind Apache with mod_proxy and use ProxyErrorOverride directive.
>
> Thanks for the explanation!
>
> I guess I could live with two 404 pages then, not that a big deal.
Except I perhaps part misread part of your problem.
Whatever is setting:
<hr noshade>
<div align="right">WSGI Server</div>
it isn't mod_wsgi as it will just pass on whatever responses are
supplied by the WSGI application.
Thus, if you want to get rid of that, search out where in Pylons or
your application it is being generated and override error response
page generated by Pylons through whatever mechanism Pylons has for
that.
BTW, if you want one consistent 404 page used by both Apache and the
WSGI application, then set Apache directive:
ErrorDocument 404 /some/url/for/404/page
Where that URL references the URL within Pylons application for the
404 page.
In other words, have WSGI application generate the 404 for the rest of
Apache.
Graham
> --
> Max.Ischenko
>
> http://www.developers.org.ua
> The #1 Ukrainian Software Developers' community
> News, Companies, Jobs, Events, Talks and more
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---