0
我有一個yii站點。但我想讓Django服務於那些有url路徑 www.mysite.com/django或子域www.django.mysite.com的頁面。服務器安裝了fastcgi,它是一個共享服務器。如何部署Yii和Django在一起
爲警予我的.htaccess文件看起來像這樣(這是在WWW文件夾),因爲我已經爲index.php的URL清潔
Options +FollowSymLinks
` IndexIgnore */*
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php