[arch-general] wsgi_mod
I have installed wsgi_mod and followed the instructions at https://wiki.archlinux.org/index.php/mod_wsgi. I am getting a server error: ********************** Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500 jsdey.com Apache/2.4.10 (Unix) mod_wsgi/4.2.8 Python/3.4.1 *********************** Can anyone give me some guidance re resolving error. Thanks. John
Hi On Tue, Sep 16, 2014 at 8:50 AM, John Dey <jsdeyjr@gmail.com> wrote:
I have installed wsgi_mod and followed the instructions at https://wiki.archlinux.org/index.php/mod_wsgi. I am getting a server error:
********************** Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
jsdey.com Apache/2.4.10 (Unix) mod_wsgi/4.2.8 Python/3.4.1 ***********************
Can anyone give me some guidance re resolving error. Thanks.
Check systemd journal and Apache logs for more information https://wiki.archlinux.org/index.php/Apache_HTTP_Server#Apache_Status_and_Lo...
Hi Anatol and others: Thanks for your guidance. After inspecting the error_log, I determined that my problem was coming from encoding. I changed the str(sys.version) to sys.version.encode() in wsgi_instructions (see link below) and the sample program worked. I would think it helpful if the instructions could be modified to indicate this change if using python 3.X. Thanks again. John On Sep 16, 2014, at 1:07 PM, Anatol Pomozov <anatol.pomozov@gmail.com> wrote:
Hi
On Tue, Sep 16, 2014 at 8:50 AM, John Dey <jsdeyjr@gmail.com> wrote:
I have installed wsgi_mod and followed the instructions at https://wiki.archlinux.org/index.php/mod_wsgi. I am getting a server error:
********************** Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
jsdey.com Apache/2.4.10 (Unix) mod_wsgi/4.2.8 Python/3.4.1 ***********************
Can anyone give me some guidance re resolving error. Thanks.
Check systemd journal and Apache logs for more information https://wiki.archlinux.org/index.php/Apache_HTTP_Server#Apache_Status_and_Lo...
On 16 septembre 2014 22:49:32 CEST, John Dey <jsdeyjr@gmail.com> wrote:
Hi Anatol and others:
Thanks for your guidance. After inspecting the error_log, I determined that my problem was coming from encoding. I changed the str(sys.version) to sys.version.encode() in wsgi_instructions (see link below) and the sample program worked. I would think it helpful if the instructions could be modified to indicate this change if using python 3.X. Thanks again.
It's a wiki, you can do it. killruana (send from a new smartphone, sorry if I top post)
On Tue, 16 Sep 2014 11:50:28 -0400 John Dey <jsdeyjr@gmail.com> wrote:
I have installed wsgi_mod and followed the instructions at https://wiki.archlinux.org/index.php/mod_wsgi. I am getting a server error:
********************** Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
jsdey.com Apache/2.4.10 (Unix) mod_wsgi/4.2.8 Python/3.4.1 ***********************
Can anyone give me some guidance re resolving error. Thanks.
John
Why not uwsgi or gunicorn? They are usually much better.
Hello, I got this issue when I run python_mod and wsgi_mod in the same time (Just comment the python_mod solve the problem). Did you run any other modules which may cause trouble ?
participants (5)
-
Anatol Pomozov
-
Fabien Boitier
-
John Dey
-
killruana
-
Øyvind Heggstad