Re: [viewvc-users] sys.stdout access restricted by mod_wsgi

Christer Solskogen <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
On Tue, Jun 14, 2011 at 8:55 PM, C. Michael Pilato <[email protected]> wrote:
> Technically, well-behaved WSGI applications aren't supposed to use
> sys.stdout directly -- the WSGI framework is supposed to handle all output.
>  ViewVC is not a well-behaved WSGI application, its WSGI support being
> really just a bit of a hack to allow that type of deployment at all.  Part
> of that hack involves continuing to spew output to sys.stdout occasionally.
>  Anyway, you might be able to work around this by setting
> "WSGIRestrictStdout off" in your httpd.conf.
>

Point taken.
Thanks for the workaround, it worked :)

-- 
chs,

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2765463

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.