It works! Don't know why cus I didn't do anything! lol
Is it possible that restarting the server wasn't reloading the new module? On Nov 10, 11:28 am, kaos <[EMAIL PROTECTED]> wrote: > Oops, didn't notice the newer version because it was out of order :) > Installed it now > > Anyway, I figured out that the <Directory> section I had added (which > I copy and pasted from a tutorial) must have contained some bogus > characters or something, because I wrote it from scratch and now > Apache is running! > > But now I am having a diff problem - when I go tohttp://localhost/wsgi > I am getting a 'Forbidden' error... > > On Nov 10, 11:15 am, "Graham Dumpleton" <[EMAIL PROTECTED]> > wrote: > > > For a start, use: > > > http://adal.chiriliuc.com/mod_wsgi/revision_1018_2.3/ > > > It is newer. > > > Can someone on Windows help with this, I am about to go offline for a day > > or so. > > > Gert, please do not go suggesting they replace their complete Apache > > configuration with yours. :-) > > > Graham > > > 2008/11/10 kaos <[EMAIL PROTECTED]>: > > > > Everything installed under administrator account. > > > > After modifying config to load mod_wsgi, apache wont start - 'the > > > requested operation has failed' > > > > nothing in the error log > > > > (downloaded mod_wsgi > > > fromhttp://adal.chiriliuc.com/mod_wsgi/revision_878_2.0/mod_wsgi_py25_apa...) > > > > Have searched whole system for other python25.dll to make sure there > > > wasnt a conflict - nothing found. > > > > --- changes made to config --- > > > > ### added this after other modules ### > > > > LoadModule wsgi_module modules/mod_wsgi.so > > > > ### added this below other <directory> code ### > > > > WSGIScriptAlias /wsgi "C:/wsgi/handler.py" > > > > <Directory "C:/wsgi"> > > > AllowOverride None > > > Options None > > > Order deny,allow > > > Allow from all > > > </Directory> > > > > --- my c:\wsgi\handler.py --- > > > > def application(environ, start_response): > > > status = '200 OK' > > > output = 'Hello World!' > > > > response_headers = [('Content-type', 'text/plain'), > > > ('Content-Length', str(len(output)))] > > > start_response(status, response_headers) > > > > return [output] > > > > Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
