> On 23 Oct 2016, at 3:59 AM, piero crisci <[email protected]> wrote:
>
> The real problem is the web server is not sending response to clients.
>
> Can't understand why. The application is running into LAN
Try using a WSGI hello world application instead of your Web2Py application.
For example:
def application(environ, start_response):
status = '200 OK'
output = b'Hello World!'
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
Put that in a file and have the WSGIScriptAlias refer to that.
Web2Py can be a pain to get working as it is setup to work using its own WSGI
server.
Show what mod_wsgi configuration you are using when you get the WSGI hello
world set up.
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.