I have a pre-configured Apache
server with neither root
nor any shell access. I only can push files via ftp
.
However, I know that the server supports Python via mod_python
. Here is what the config says:
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2
I wonder whether I can run flask
on it. My idea would be to create a virtualenv
locally and deploy it via ftp
.
The big question is whether I can deploy flask
on mod_python
without any mod_wsgi
which I guess is not preconfigured.