Bug 13222 - add apache-python3-mod_wsgi
Summary: add apache-python3-mod_wsgi
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 11:57 CEST by Philippe Makowski
Modified: 2014-04-16 22:04 CEST (History)
0 users

See Also:
Source RPM: apache-mod_wsgi-3.4-3.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Philippe Makowski 2014-04-16 11:57:49 CEST
mod_wsgi should have python3 support.

it is desirable to parallel install the apache-mod_wsgi and apache-python3-mod_wsgi  packages.  We just don't want both modules to be run in the same apache instance.  This should be done by using conditionals in the apache conf file.

Additional info:

* The conflicts between mod_wsgi and python3-mod_wsgi should be removed.
* The conf file for python3-mod_wsgi should look something like this:
  # NOTE: mod_wsgi_python3 can not coexist in the same apache process as 
  # mod_wsgi (python2).  Only load if mod_wsgi is not already loaded.
 
  <IfModule !wsgi_module>
    LoadModule wsgi_module modules/mod_wsgi_python3.so
  </IfModule>

* The conf file for mod_wsgi should look something like this:
  # NOTE: mod_wsgi can not coexist in the same apache process as 
  # mod_wsgi_python3.  Only load if mod_wsgi_python3 is not
  # already loaded.
 
  <IfModule !wsgi_module>
    LoadModule wsgi_module modules/mod_wsgi.so
  </IfModule>




Reproducible: 

Steps to Reproduce:
Comment 1 Philippe Makowski 2014-04-16 22:04:11 CEST
Done in mga5, it can be backported to mga4 if someone need it

Status: NEW => RESOLVED
Version: 4 => Cauldron
Resolution: (none) => FIXED
Source RPM: apache-mod_wsgi-3.4-3.mga4.src.rpm => apache-mod_wsgi-3.4-3.mga5.src.rpm


Note You need to log in before you can comment on or make changes to this bug.