I am configuring Apache to run with the WSGI module in place of Django 
development server.
Using Apache 2.4, mod_wsgi 3.4, Python 2.7 on Ubuntu 12.10 Desktop.

When I serve my site through Apache, I get this error :

Forbidden

You don't have permission to access / on this server.

My Apache configuration file looks like this(only the relevant fields) :

WSGIScriptAlias / /tt_drive/code/tindo/terido/apache/django.wsgi
<Directory /tt_drive/code/tindo/terido/apache>
Order allow,deny
Allow from all
</Directory>

Also I have set the permissions for the drive /tt_drive to be 777.

The Apache error log says something like this :

[Fri Nov 16 07:53:45.365094 2012] [authz_core:error] [pid 19081:tid 
140242585626368] [client 223.239.136.204:52318] AH01630: client denied by 
server configuration: /tt_drive/code/tindo/terido/apache/django.wsgi

I searched Google for solutions. All of them told me to insert the 
<Directory> directive in my httpd.conf file. But I had already done that. 
Pretty clear from the mod_wsgi documentation. I also tried restarting my 
server multiple times. Still the same error.

Please help.

Thanks,
Milind.


-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/AIbCBpTIE3gJ.
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.

Reply via email to