On 14/07/2013, at 11:39 PM, Jay Parikh <[email protected]> wrote:

> Hi All,
> 
> I am deploying a site.
> I've used bootstrap.py in my django web-site.
> I've performed all steps with root user.
> But it's giving me forbidden 403 Error :
> It says : 
> You don't have permission to access /myproject/ on this server.
> 
> Shall i follow steps using normal user or does it make difference ?
> 
> Please guide me and tell me where i am going wrong.
> 

As described in:

http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Mounting_The_WSGI_Application

you have not done the equivalent of:

<Directory /usr/local/www/wsgi-scripts>
Order allow,deny
Allow from all
</Directory>
for your setup.

In other words, you have not told Apache it is allowed to serve up a WSGI 
script from the directory where you put things.

Just make sure you change the directory given in that example to match what you 
are using.

For more details go watch:

http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations

Just be aware that that talk is about older Django version and newest version 
is a little different now in some parts as a wsgi.py is created by Django now 
when a project is created. Adjust what you do accordingly.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to