I am on a shared hoster an have installed mediadrop exactly as the documentation tells (for fcgi-deployment).
It does setup (deployment.ini builds), all required python modules are installed (including flup, i verified every version to be correct between "pip freeze" and the "requirements.txt").
My file structure looks as follows:
[dired@uberspace testpage.dired.de]$ ls -ls 4 drwxr-xr-x. data 8 -rw-r--r--. deployment.ini 4 drwxr-xr-x. env 4 drwxr-xr-x. mediadrop-git 4 drwxr-xr-x. my_media
inside my_media there is the .htaccess and the mediadrop.fcgi from the deployment folder.
When I execute mediadrop.fcgi:
(env) [dired@uberspace testpage.dired.de]$ ./my_media/mediadrop.fcgi 03:41:27,770 INFO [alembic.migration] [MainThread] Context impl MySQLImpl. 03:41:27,771 INFO [alembic.migration] [MainThread] Will assume transactional DDL. WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! Status: 404 Not Found Content-Type: text/html; charset=utf-8 Pragma: no-cache Cache-Control: no-cache Content-Length: 4013 <!DOCTYPE html [...]
I believe I have to tell mediadrop to run in fcgi-mode or either define the FastCGI-Params somewhere (i don't know where, I searched for quite some time). Do you know what prevents the fcgi-script from running here?
Any help would be very much appreciated.