NameVirtualHost *:80

in /etc/apache2/sites-available i made one file istore:
<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/apache/
django.wsgi

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

        CustomLog /var/log/apache2/access.log combined
</VirtualHost>
 and i $ sudo a2ensite istore and $ sudo a2dissite default
Now the prolem is that when i open www.imaboy.cn, it said:"The page
can not been found" (404), there is no error in error.log, Everything
seems works fine, but without good result.

-- 
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