Search results

  1. K

    problem importing python module into wsgi file

    This returns a 500 error (doesn't work): from pyadd.lib import addme def application(environ, start_response): q = environ['QUERY_STRING'] num1 = int(q[(q.index('=') + 1)]) num2 = int(q[(q.index('=',6) + 1)]) sum = str(addme(num1, num2)) start_response('200 OK'...
  2. K

    is mod_lua still supported?

    It appears like support has been dropped for the Lua module in the 1.6.x branch. Can anyone confirm this? ./configure no longer works so the configure --with-lua=[DIR] option is moot and the ols.conf file has no (documented) option for the Lua module. I would really like to be able to use Lua...
  3. K

    how to install Lua support in OLS 1.6+

    The Lua module installation instructions seem to assume you are using a version of OLS that still uses the configure script, but in version 1.6+ the configure script is no longer used. So how do I use Lua with version 1.64?
  4. K

    OLS will not run a simple hello world wsgi python script

    https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:other-ext-apps:python-lsapi https://openlitespeed.org/kb/python-wsgi-applications/ I followed these guides and tried to run the hello.wsgi example linked to above without success. I get a "503 service unavailable" error every...
Top