Please ignore the message (now deleted) about me saying it works... turns out that was just apache serving regular html from the root directory :(
On Nov 10, 11:53 am, kaos <[EMAIL PROTECTED]> wrote: > thanks > > server starts now, but i am getting a 'forbidden' error when trying to > accesshttp://localhost/wsgi > > my conf looks like this > > ---- > > WSGIScriptAlias /wsgi “C:/wsgi/handler.py” > > <Directory "C:/wsgi"> > Order allow,deny > Allow from all > </Directory> > > 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 -~----------~----~----~----~------~----~------~--~---
