Re: wsgi_mod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> wrote:

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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux