nano bluepearlhotel.wsgi

import os
import sys
sys.path = ['/var/www/bluepearlhotel'] + sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'bluepearlhotel.settings'
import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()




yems@yems /etc/apache2/sites-available $ 



<VirtualHost *:80>
WSGIScriptAlias / /home/yems/bluepearlhotel.wsgi

ServerName  bluepearlhotel.com

Alias /static /var/www/bluepearlhotel/static/

<Directory /var/www/bluepearlhotel/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

i created the project 


so when i type bluepearlhotel.com

it gives me this error

Forbidden

You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at bluepearlhotel.com Port 80





-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/93622b41-afdf-4ee1-8265-12290fbc2e83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to