[Nitro] mod_proxy and 404's
George Moschovitis
george.moschovitis at gmail.com
Mon Jan 29 12:07:22 EST 2007
This should work:
@context.status = 400
dunno why this doesnt work for you...
-g.
On 1/29/07, nitrojesus.5.pistos at geoshell.com <
nitrojesus.5.pistos at geoshell.com> wrote:
>
> My setup is: Apache using mod_proxy to proxy to Nitro run under
> Mongrel. I have Apache logging requests as per normal, and most
> things are 200's. How can I get my error action/page to return 404
> back to mod_proxy, so I can see 404 in my Apache logs (for log
> analysis, etc.)?
>
> I've tried all manner of
> @header = ...
> @context.status = 404
> @context.response_header...
>
> And Apache continues to report it as a 200.
>
> Thanks in advance for any and all help. :)
>
> Pistos
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
--
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070129/c22ffc9b/attachment-0001.html
More information about the Nitro-general
mailing list