Re: develop to product

2011-03-30 Thread yongzhen zhang
And the nginx error log is: 2011/03/30 05:50:35 [error] 1090#0: *40 open() "/var/www/nginx-default/ favicon.ico" failed (2: No such file or directory), client: 184.73.245.208, server: localhost, request: "GET /favicon.ico HTTP/ 1.0", host: "www.imaboy.cn", referrer: "http://www.google.com/search?

Re: develop to product

2011-03-29 Thread yongzhen zhang
Hi Sam, Yes, you are right, i want to run Django project on my LAMP server, before i did the Django project, i also made some PHP work under /var/ www. But now the PHP work doesnt work any more. Here is the apache error: [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,)

Re: develop to product

2011-03-29 Thread Sam Walters
Hi Yongzhen, Looks like you're trying to run two mis-configured web servers. if you're on linux stop the nginx process eg: /etc/init.d/nginx stop The stuff you've submitted is for apache: Send us the contents of the apache log file showing the error. Perhaps *if the error is long* use http://pas

Re: develop to product

2011-03-29 Thread creecode
Hello Yongzhen, The first thing you might want to find out is why, apparently, nginx is giving you an error when you say that you are using apache/wsgi. If I had to guess I'd say you might have an nginx server acting as a proxy in your stack somewhere. I'm not an expert though as I've just been

Re: develop to product

2011-03-29 Thread yongzhen zhang
It shows: 404 Not Found nginx/0.7.65 On 3月30日, 上午4时19分, yongzhen zhang <4...@live.cn> wrote: > NameVirtualHost *:80 > > in /etc/apache2/sites-available i made one file istore: > > ServerAdmin webmaster@loc

Re: develop to product

2011-03-29 Thread yongzhen zhang
NameVirtualHost *:80 in /etc/apache2/sites-available i made one file istore: ServerAdmin webmaster@localhost ServerName www.imaboy.cn ServerAlias shop.imaboy.cn Alias /static /home/yongzhen/workspace/www/iStore/static DocumentRoot /home/yongzhen/workspace

Re: develop to product

2011-03-29 Thread Mike Ramirez
On Tuesday, March 29, 2011 07:48:16 am yongzhen zhang wrote: > [Tue Mar 29 17:06:07 2011] [error] [client 62.237.153.123] File "/home/ > yongzhen/workspace/www/iStore/apache/django.wsgi", line 5, in > [Tue Mar 29 17:06:07 2011] [error] [client 62.237.153.123] > wsgi_dir=os.path.abspath(os.path.di

Re: develop to product

2011-03-29 Thread yongzhen zhang
> Which error you have? > Envoyé par mon BlackBerry® smartphone de Tigo > > > > -Original Message- > From: yongzhen zhang <4...@live.cn> > > Sender: django-users@googlegroups.com > Date: Tue, 29 Mar 2011 05:41:40 > To: Django users > Reply-To: dj

Re: develop to product

2011-03-29 Thread yongzhen zhang
[Tue Mar 29 16:40:59 2011] [warn] NameVirtualHost *:80 has no VirtualHosts [Tue Mar 29 16:40:59 2011] [warn] NameVirtualHost *:80 has no VirtualHosts (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs On 3月29日,

Re: develop to product

2011-03-29 Thread nadaeivar
Which error you have? Envoyé par mon BlackBerry® smartphone de Tigo -Original Message- From: yongzhen zhang <4...@live.cn> Sender: django-users@googlegroups.com Date: Tue, 29 Mar 2011 05:41:40 To: Django users Reply-To: django-users@googlegroups.com Subject: develop to product

develop to product

2011-03-29 Thread yongzhen zhang
HI, I want to move development version to product version and i use Apache with wsgi. In apache2/sites-available folder, i made one istore instead the default one. The content is: NameVirtualHost *:80 ServerAdmin webmaster@localhost ServerName www.imaboy.cn ServerAlias sh