git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e257f
)
httpd config can also deal with the python3 wsgi module
author
parmentelat
<thierry.parmentelat@inria.fr>
Thu, 13 Dec 2018 20:01:51 +0000
(21:01 +0100)
committer
parmentelat
<thierry.parmentelat@inria.fr>
Thu, 13 Dec 2018 20:01:51 +0000
(21:01 +0100)
plc.d/httpd
patch
|
blob
|
history
diff --git
a/plc.d/httpd
b/plc.d/httpd
index
b14c76f
..
526e37c
100755
(executable)
--- a/
plc.d/httpd
+++ b/
plc.d/httpd
@@
-183,7
+183,9
@@
EOF
# with mod_python preferred
if rpm -q mod_python >& /dev/null ; then
configure_for_mod_python=true
- elif rpm -q mod_wsgi >& /dev/null || rpm -q python2-mod_wsgi >& /dev/null ; then
+ elif rpm -q mod_wsgi >& /dev/null \
+ || rpm -q python2-mod_wsgi >& /dev/null \
+ || rpm -q python3-mod_wsgi >& /dev/null ; then
configure_for_mod_wsgi=true
else
echo "Requires mod_python or mod_wsgi.... exiting"