some help here please On Monday, August 11, 2014 2:47:09 PM UTC+1, ngangsia akumbo wrote: > > i have these configs > > project path > yems bluepearlhotel # ls > blog bluepearlhotel event gallery home images manage.py media > static > yems bluepearlhotel # > > > cd /etc/apcahe2/sites-available > > * yems sites-available # ls* > *000-default.conf bluepearlhotel.conf default-ssl.conf testsite.com > <http://testsite.com>* > *yems sites-available # * > > > VirtualHost *:80> > WSGIScriptAlias / /home/yems/bluepearlhotel.wsgi > > ServerName bluepearlhotel.com > > Alias /static /var/www/bluepearlhotel/static/ > > <Directory /home/yems/var/www/bluepearlhotel/> > Order allow,deny > Allow from all > </Directory> > > <Directory /home/yems/> > <Files bluepearlhotel.wsgi> > > Require all granted > </Files> > </Directory> > > > > yems@yems ~ $ ls > bluepearlhotel.wsgi > > *import os* > *import sys* > *sys.path = ['home/home/var/www/bluepearlhotel'] + sys.path* > *os.environ['DJANGO_SETTINGS_MODULE'] = 'bluepearlhotel.settings'* > *import django.core.handlers.wsgi* > > *application = django.core.handlers.wsgi.WSGIHandler()* > > when i browse > > www.bluepearlhotel.com > it give me an empty page > > Please need help > > > >>>>
-- 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/91f3fec2-ad4b-422b-b560-c223fcd8a4a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.