On 30/01/2015, at 3:33 AM, Paul Royik <[email protected]> wrote:
> I want advice what to do
>
> If you think that proposed path is good, then let' go for it.
As first step, log into your WebFaction account.
I don't know how WebFaction sets you up with a writable Python installation,
but if you are using a Python virtual environment ensure that it is activated
as you would if you are installing any other Python packages.
Then run:
MOD_WSGI_REQUIRE_APACHE=true pip install
https://github.com/GrahamDumpleton/mod_wsgi/archive/develop.zip
This will take a while.
What it will do is the following.
1. Download latest apr, apr-util and httpd source code.
2. Build Apache httpd from the source code and installing it as a special
package into your Python installation.
3. Build mod_wsgi against the installed Apache installation.
The end result of this will be the command 'mod_wsgi-express'. When it is run,
it will run up Apache using the version installed by the package. It will even
generate the Apache configuration for you.
Anyway, first step is to see whether the installation works okay. We can then
go through what options you will need to use with mod_wsgi-express to give you
the same result as far as running up your Python web application. We will also
need to work out where is the correct place to integrate it into WebFaction to
get this server started up instead of the default Apache one they give you.
On this later point, my recollection is that they use cron to ensure your
Apache is running, so can you give the output from running:
crontab -l
Thanks.
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.