2

I'm using Ubuntu 12.04 LTS.

I create a django project under /home/server/

here is what I add to my httpd.conf:

WSGIScriptAlias / /home/server/my_server/wsgi.py
WSGIPythonPath /home/server/
<Directory /home/server/>
   <Files wsgi.py>
       Order deny,allow
       Allow from all
   </Files>
</Directory>

The problem is, when I visit localhost, it says

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

Thanks a lot.

Jeremy
  • 159
  • 4
  • 14

0 Answers0