0

プロジェクトを共有ホスティングアカウントにアップロードし、.htaccess:

AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /yuanzhe/mysite/mysite/mysite2.fcgi/$1 [QSA,L]

しかし、 http://youdishou.com/helloにアクセスしたときに404が見つかりました

ありがとう!

4

1 に答える 1

0

Second argument to RewriteRule should be an URL:

RewriteRule ^(.*)$ /mysite2.fcgi/$1 [QSA,L]

Anyway, visit http://youdishou.com/mysite2.fcgi

Looks like your hosting provider does not support fcgi at all. So it's better to contact hosting support to know if there is a way to start Django there. Many providers do not support Django at all.

于 2012-04-09T02:54:55.280 に答える