Installing Django with mod_wsgi?

You have: WSGIScriptAlias / /C:/Users/Marcos/Documents/mysite/apache/django. Wsgi That is wrong as RHS is not a valid Windows pathname. Use: WSGIScriptAlias / C:/Users/Marcos/Documents/mysite/apache/django.

Wsgi That is, no leading slash before the Windows drive specifier. Other than that, follow the mod_wsgi documentation others have pointed out. Poster edited question to change what now would appear to be a typo in the post and not a problem with his configuration.

If that is the case, next causes for a 403 are as follows. First is that you need to also have: Order deny,allow Allow from all If you don't have that then Apache isn't being granted rights to serve a script from that directory and so will return FORBIDDEN (403). Second is that you do have that, but don't acknowledge that you do, and that that directory or the WSGI script file is not readable by the user that the Apache service runs as under Windows.

Thanks... Such an idiot mistake! ;) Sorry for the typo before – Marcoslhc Jul 29 '09 at 2:04.

You need more than one line to assure that Apache will play nicely. Alias /media/ /usr/local/django/mysite/media/ Order deny,allow Allow from all WSGIScriptAlias / /usr/local/django/mysite/apache/django. Wsgi Order deny,allow Allow from all The , as well as appropriate file system ownership and permissions are essential.

The usr/local/django/mysite/apache directory has your Python/Django app and the all-important django. Wsgi file. You must provide permissions on this directory.

– Evgeny Jul 29 '09 at 0:16 The last directory is your Python/Django app and the . Wsgi file. – S.

Lott Jul 29 '09 at 0:21.

Mod_wsgi's documentation is very good. Try using their quick configuration guide and go from there: code.google.com/p/modwsgi/wiki/QuickConf....

Had the same problem. If you have (13) Permission Denied in your Apache error logs try this : wiki.apache.org/httpd/13PermissionDenied. It's the only solution that worked for me.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions