我是django的新手.我尝试了这个,但我无法部署.我能怎么做
#!/usr/bin/python
import sys
import os
base = os.path.dirname(os.path.abspath(__file__)) + '/..'
sys.path.append(base)
os.environ['DJANGO_SETTINGS_MODULE'] = 'myfirstapp.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Run Code Online (Sandbox Code Playgroud)
AddHandler fcgid-script .fcgi
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(media/.*)$ - [L]
RewriteRule ^(adminmedia/.*)$ - [L]
RewriteCond %{REQUEST_URI} !(cgi-bin/myproject.fcgi)
RewriteRule ^(.*)$ mysite.fcgi/$1 [L]
Run Code Online (Sandbox Code Playgroud) 我正在尝试构建像http://labs.ideeinc.com/multicolr这样的实用程序,但我不知道他们使用的是哪种算法,有谁知道?
Windows Azure和Amazon Elastic Compute Cloud有什么区别?
我应该使用Azure还是EC2?
algorithm ×1
amazon-ec2 ×1
amazon-s3 ×1
azure ×1
django ×1
fastcgi ×1
python ×1
search ×1
similarity ×1