I'm using python2.6, Apache2.2, Django1.3 and mod_wsgi>3 on home windows xp. now I've installed Apache properly it's running well. and that i have add the next line in httpd.conf file:- LoadModule wsgi_module modules/mod_wsgi.so Now i restart my Apache server It's running well. However when I've add the next lines in httpd.conf:-
WSGIScriptAlias /wsgi “C:/wsgi_app/wsgi_handler.py” <Directory “C:/wsgi_app”> AllowOverride None Options None Order deny,allow Allow from all </Directory>
Then restart my Apache server it give error around the prompt "The request operation has unsuccessful"
help me I'm new in python.
Whenever debugging Apache, the to begin with to check on may be the error and access logs. I have not used at all apache with Home windows, but when you discover logs, you will get an infinitely more descriptive error message.
FYI, I believe that it is normally suggested to create the wsgi_handler make use of a .wsgi extension (though I believe this really is most likely since it is normally named django).
make certain you've wsgi_handler.py file within the directory C:/wsgi_application.
problem might be the symbol that you're estimating. replace “C:/wsgi_application/wsgi_handler.py” with "C:/wsgi_application/wsgi_handler.py" and “C:/wsgi_app” with "C:/wsgi_application".