[arch-general] wsgi_mod

John Dey jsdeyjr at gmail.com
Tue Sep 16 16:49:32 EDT 2014


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 at gmail.com> wrote:

> Hi
> 
> On Tue, Sep 16, 2014 at 8:50 AM, John Dey <jsdeyjr at 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_Logs


More information about the arch-general mailing list