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 django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment