Skip to content

Commit 32f0cb9

Browse files
committed
No need to install mod-wsgi from source anymore.
1 parent eb52b92 commit 32f0cb9

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

122 - lib-apache.sh

-20
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,6 @@ function apache_mod_wsgi_install {
1414
aptitude -y install libapache2-mod-wsgi
1515
}
1616

17-
function apache_mod_wsgi_install_from_source {
18-
#$1 - version
19-
20-
VERSION=$1
21-
pushd /tmp
22-
wget http://modwsgi.googlecode.com/files/mod_wsgi-$VERSION.tar.gz
23-
tar xvfz mod_wsgi-$VERSION.tar.gz
24-
cd mod_wsgi-$VERSION
25-
./configure
26-
make
27-
make install
28-
cd ..
29-
rm -rf mod_wsgi-$VERSION
30-
popd
31-
32-
echo "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" > /etc/apache2/mods-available/wsgi.load
33-
34-
a2enmod wsgi
35-
}
36-
3717
function apache_cleanup {
3818
a2dissite default # disable default vhost
3919
}

0 commit comments

Comments
 (0)