When using Apache 2.4 (HTTPS using port 443) with web2py the application works fine, but the admin interface always returns and error "Internal Server Error".
This only happens if using port 443 (if I change the HTTPS port to eg. 8000, it all works). I checked that I don't have any other program/process using port 443. The Apache error.log shows this > [Mon Apr 08 00:36:13.551971 2019] [wsgi:error] [pid 4448:tid 924] [client > 192.168.1.119:61409] mod_wsgi (pid=4448): Exception occurred processing WSGI > script 'C:/web2py/wsgihandler.py'. > [Mon Apr 08 00:36:13.551971 2019] [wsgi:error] [pid 4448:tid 924] [client > 192.168.1.119:61409] TypeError: sequence of byte string values expected, > value of type str found\r > > I searched for this and found this article https://stackoverflow.com/questions/34838443/typeerror-sequence-of-byte-string-values-expected-value-of-type-str-found Apparently this has to do with Python3. Maybe web2py is sending str instead of bytes to Apache when accessing the admin interface? My env Windows 7 Pro x64 SP1+all upd Firefox 66.0.2 x64 Python 3.7.1 x86 web2py 2.18.4 Apache 2.4 (httpd-2.4.39-win32-VC14) mod_wsgi-4.5.24+ap24vc14-cp37-cp37m-win32.whl -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

