@@ -7,8 +7,7 @@ start the server without needing to write Apache httpd configuration.
7
7
8
8
* Tightly integrated with Apache httpd.
9
9
* Supports Windows directly.
10
- * Requires a compiler to install. Requires Apache installed separately
11
- on Windows.
10
+ * Requires a compiler and the Apache development headers to install.
12
11
* Does not require a reverse proxy setup.
13
12
14
13
This page outlines the basics of running mod_wsgi-express, not the more
@@ -24,29 +23,19 @@ understand what features are available.
24
23
Installing
25
24
----------
26
25
27
- On Linux/Mac, the most straightforward way to install mod_wsgi is to
28
- install the `` mod_wsgi-standalone `` package, which will compile an
29
- up-to-date version of Apache httpd as well .
26
+ Installing mod_wsgi requires a compiler and the Apache server and
27
+ development headers installed. You will get an error if they are not.
28
+ How to install them depends on the OS and package manager that you use .
30
29
31
30
Create a virtualenv, install your application, then install
32
- ``mod_wsgi-standalone ``.
31
+ ``mod_wsgi ``.
33
32
34
33
.. code-block :: text
35
34
36
35
$ cd hello-app
37
36
$ python -m venv venv
38
37
$ . venv/bin/activate
39
38
$ pip install . # install your application
40
- $ pip install mod_wsgi-standalone
41
-
42
- If you want to use the system-installed version of Apache httpd
43
- (required on Windows, optional but faster on Linux/Mac), install the
44
- ``mod_wsgi `` package instead. You will get an error if Apache and its
45
- development headers are not available. How to install them depends on
46
- what OS and package manager you use.
47
-
48
- .. code-block :: text
49
-
50
39
$ pip install mod_wsgi
51
40
52
41
0 commit comments