On Monday 16 July 2012 19:51:59 Reimar Bauer wrote: > Just a question > > is there no mod_wsgi on sel linux?
I haven't really looked at mod_wsgi on RHEL. There might be complications involved with defining a SELinux policy since I understand that mod_wsgi deploys a daemon and that kind of activity has to be explicitly enabled. I think I had to do something similar to this for PHP and MediaWiki so that Apache processes could talk to MySQL. See here for more of this kind of thing: http://selinuxproject.org/page/ApacheRecipes > Or why do you use CGI? Actually, I often use CGI because it is very easy to deploy and because I haven't bothered to set up mod_wsgi. The principal pitfall with CGI occurs with Moin 1.9 because Moin wants to serve static content itself, rather than leave it to Apache, and doing so using CGI really affects performance. A few configuration changes to use Apache for static content, just as is done with Moin 1.8, and performance is reasonable again. Some people find setting Apache up to be too much work, but defining a ScriptAlias and an Alias is pretty easy - probably easier than troubleshooting mod_wsgi if that is causing trouble - and I have my moinsetup tool to handle the "pathname calculus" that usually causes problems when configuring Apache to serve content. I do aim to use mod_wsgi a bit more, though. Paul ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user