Hello All, Hi Graham,
This "error" is when in httpd.conf the line reads like WSGIScriptAlias /hello /wsgi/static/hello.wsgi This is the message which is displayed by the browser: ************************************************************ http://192.168.1.15/hello Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, y...@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ************************************************************ Following are the lines from error_log in /opt/apache2/logs/ [Sat Dec 12 01:35:17 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.6.2 configured [Sat Dec 12 01:35:31 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2260): Target WSGI script '/wsgi/static/hello.wsgi' do [Sat Dec 12 01:37:01 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/hello.wsgi [Sat Dec 12 01:37:20 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/wsgi/static/hello [Sat Dec 12 01:37:26 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/favicon.ico [Sat Dec 12 01:39:08 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/etc [Sat Dec 12 01:39:21 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/etc [Sat Dec 12 01:41:19 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2262): Target WSGI script '/wsgi/static/hello.wsgi' do [Sat Dec 12 01:41:38 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2260): Target WSGI script '/wsgi/static/hello.wsgi' do [Sat Dec 12 01:41:41 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2262): Target WSGI script '/wsgi/static/hello.wsgi' do [Sat Dec 12 01:45:42 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/etc [Sat Dec 12 02:00:56 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/wsgi/static/hello [Sat Dec 12 02:01:44 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/wsgi/static/hello [Sat Dec 12 02:01:53 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2260): Target WSGI script '/wsgi/static/hello.wsgi' do [Sat Dec 12 02:08:26 2009] [notice] caught SIGTERM, shutting down [Sat Dec 12 02:08:31 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Dec 12 02:08:32 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.6.2 configured [Sat Dec 12 02:08:39 2009] [error] [client 192.168.1.3] client denied by server configuration: /wsgi/static/hello [Sat Dec 12 02:09:05 2009] [error] [client 192.168.1.3] client denied by server configuration: /wsgi/static/hello [Sat Dec 12 02:15:56 2009] [notice] caught SIGTERM, shutting down [Sun Dec 13 00:13:14 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sun Dec 13 00:13:15 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.6.2 configured [Sun Dec 13 00:13:25 2009] [error] [client 192.168.1.3] Target WSGI script not found or unable to stat: /wsgi/static/hello [Sun Dec 13 00:14:13 2009] [error] [client 192.168.1.3] File does not exist: /opt/apache2/htdocs/favicon.ico [Sun Dec 13 00:14:35 2009] [error] [client 192.168.1.3] Target WSGI script not found or unable to stat: /wsgi/static/hello [Sun Dec 13 00:15:58 2009] [notice] caught SIGTERM, shutting down [Sun Dec 13 00:16:01 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sun Dec 13 00:16:01 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.6.2 configured [Sun Dec 13 00:16:13 2009] [error] [client 192.168.1.3] mod_wsgi (pid=2498): Target WSGI script '/wsgi/static/hello.wsgi' do ********************************************************************** Till now the development and testing is through the http / web browser only. Until and unless really required to test in Python prompt, this will be the way i will be doing it ( as i need to test web forms and xml also). Thanks Nitin -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modw...@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.