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

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        ServerName www.imaboy.cn
        ServerAlias shop.imaboy.cn
        Alias /static /home/yongzhen/workspace/www/iStore/static

        DocumentRoot /home/yongzhen/workspace/www/iStore
        WSGIScriptAlias / /home/yongzhen/workspace/www/iStore/apache/
django.wsgi

        ErrorLog /var/log/apache2/error.log
        LogLevel warn

  CustomLog /var/log/apache2/access.log combined
  </VirtualHost>
and in the  sites-enabled folder i made the link to istore.
But the problem is when i restart apache2, there is some warning:

 * Restarting web server pache2
[Tue Mar 29 15:38:21 2011] [warn] NameVirtualHost *:80 has no
VirtualHosts
 ... waiting [Tue Mar 29 15:38:22 2011] [warn] NameVirtualHost *:80
has no VirtualHosts

After that the server for PHP does not work: http://www.imaboy.cn/
Does anyone know how to fix it?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to