is the skype ok or facebook ngangsia (at) yahoo.com
On Tuesday, August 12, 2014 10:38:32 AM UTC+1, ngangsia akumbo wrote: > > ok thanks bro i am not familia with google chat i have skyp > > skype is ngangsi.richard > > > > On Tuesday, August 12, 2014 10:33:05 AM UTC+1, Sanjay Bhangar wrote: >> >> On Tue, Aug 12, 2014 at 2:41 PM, ngangsia akumbo <ngan...@gmail.com> >> wrote: >> > This is what i have for errors >> > >> > yems@yems /var/log/apache2 $ ls >> > >> > access.log error.log other_vhosts_access.log >> > access.log.1 error.log.1 other_vhosts_access.log.1 >> > >> >> If you have not added a specific ErrorLog and CustomLog directive for >> this vhost file (as per my previous email), apache will club all >> access and error logs into the default access and error log files. >> >> > >> > static path >> > >> > yems@yems /var/www/bluepearlhotel $ ls >> > >> > blog bluepearlhotel event gallery home images manage.py media >> static >> > >> > app listed are blog, event, gallery, home, images, a >> > >> > and the project name is bluepearlhotel >> > >> >> You seemed to have your paths in your vhost conf as like >> "/home/yems/var/ww/..." whereas your path seems to be /var/www/.. >> (without the /home/yems .. ) >> >> > >> > i have also done the a2ensite bluepearlhotel.conf it gave me this >> message >> > >> > yems@yems /etc/apache2/sites-available $ a2ensite bluepearlhotel.conf >> > >> > Site bluepearlhotel already enabled >> > >> > the out pu of /etc/apache2/sites-available >> > >> > >> > yems@yems /etc/apache2/sites-available $ ls >> > >> > 000-default.conf bluepearlhotel.conf default-ssl.conf testsite.com >> > >> > >> > >> > config files are not being read >> > >> >> There seem to be several little silly things that could be the issue >> here - its a bit hard to tell from out here - if you feel like, ping >> me on chat (sanjayb on IRC/Freenode or my current email address on >> google-chat) -- we can go over these things step by step and make sure >> things are in order. >> >> Cheers, >> Sanjay >> >> >> > >> > There are no erros at the bluepearlhotel >> > >> > >> > On Monday, August 11, 2014 4:52:11 PM UTC+1, Sanjay Bhangar wrote: >> >> >> >> hey Ngangsia, >> >> >> >> >> >> On Mon, Aug 11, 2014 at 7:17 PM, ngangsia akumbo <ngan...@gmail.com> >> >> 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 >> >> > yems sites-available # >> >> > >> >> >> >> The config you are using here is testsite.com or bluepearlhotel.conf >> ? >> >> Recently, apache changed their default config to only look for files >> >> ending in .conf inside sites-available, iirc, so if your config is in >> >> testsite.com, maybe its not reading your config at all. >> >> >> >> > >> >> > 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> >> >> > >> >> >> >> That *looks* okay. Can you add a couple lines for log files, and then >> >> check those files to see if you get anything in the logs that maybe >> >> helpful? Like this: >> >> >> >> ErrorLog /var/log/apache2/bluepearlhotel.com_error.log >> >> CustomLog /var/log/apache2/bluepearlhotel.com_access.log combined >> >> >> >> Also, your /static alias seems off? Where exactly are your project >> >> files? If your project folder is /home/yems/var/www/bluepearlhotel >> >> your static path should probably be something like >> >> /home/yems/var/www/bluepearlhotel/static or so? >> >> >> >> Can you paste output of the command 'pwd' inside your project folder? >> >> >> >> > >> >> > >> >> > 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 >> >> > >> >> >> >> Again, that *seems* okay, but perhaps you have something weird going >> >> on with your paths. >> >> >> >> I'd check the apache log files, one of two things could happen then: >> >> >> >> 1> You don't see any errors for bluepearlhotel.com -- in this case, >> >> your apache conf is probably not being read at all. Have you done >> >> a2enmod on the vhost file? Can you check if there is an entry / >> >> symlink inside /etc/apache2/sites-enabled/ (post output of 'ls >> >> /etc/apache2/sites-enabled'). Then, first need to figure out why the >> >> conf files is not being read. >> >> >> >> 2> If the conf file is being read, you should see some errors. Those >> >> errors should give you some more information about what's going wrong. >> >> Paste those errors here and we can try and help you out. >> >> >> >> Don't give up, lets figure this out :P >> >> >> >> -Sanjay >> > >> > -- >> > 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...@googlegroups.com. >> > To post to this group, send email to django...@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/90e65b15-a61b-4318-a82f-2aa0f866e371%40googlegroups.com. >> >> >> > >> > For more options, visit https://groups.google.com/d/optout. >> > -- 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/8333d0e3-2b1d-4ae6-9646-2c1c0ab726fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.