Skip to content

Commit

Permalink
NONE: Fix wsgi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Adam committed Oct 22, 2021
1 parent 3b8fd41 commit c8956a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/wsgi/Dockerfile
Expand Up @@ -2,7 +2,7 @@ FROM httpd

RUN apt-get update \
&& apt-get install --no-install-recommends -y \
python python-dev python-setuptools python-pip \
python3 python3-dev python3-setuptools python3-pip \
libapr1-dev libaprutil1-dev gcc \
&& pip install mod_wsgi

Expand Down
2 changes: 1 addition & 1 deletion examples/wsgi/httpd.conf
Expand Up @@ -546,7 +546,7 @@ SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

LoadModule wsgi_module "/usr/local/lib/python2.7/dist-packages/mod_wsgi/server/mod_wsgi-py27.so"
LoadModule wsgi_module "/usr/local/lib/python3.9/dist-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so"
WSGIPythonHome "/usr"

WSGISocketPrefix /var/run/wsgi
Expand Down
1 change: 1 addition & 0 deletions examples/wsgi/run_tests.sh
Expand Up @@ -3,6 +3,7 @@
cd "$(dirname "$0")"

_fail() {
docker logs wsgi-sample
docker rm -f wsgi-sample > /dev/null 2>&1
exit 1
}
Expand Down

0 comments on commit c8956a0

Please sign in to comment.