Ответы пользователя по тегу uWSGI
  • Apache + mod_proxy_uwsgi + php — не согласуется результат работы при сходных ProxyPass и ProxyPassMatch?

    merlin-vrn
    @merlin-vrn Автор вопроса
    В общем, с помощью грубого костыля в файле apache2/mod_proxy_uwsgi.c вида

    16a17
    > #include <string.h>
    104a106,113
    >     const char *_path_info = apr_table_get(r->subprocess_env, "PATH_INFO");
    > 
    >     if (script_name && _path_info && (script_name[0] != _path_info[0])) {
    >         // APR bug where value in path_info doesn't correspond to what is defined in CGI spec http://tools.ietf.org/html/rfc3875#section-4.1.5
    >         // we'll fix it here by ourselves, scanning to first '/' and erasing everything before it
    >         apr_table_set(r->subprocess_env, "PATH_INFO", strchr(_path_info, '/'));
    >     }
    > 
    


    удалось запустить работу как надо.
    Ответ написан
    Комментировать