0
나는 yii 사이트가 있습니다. 하지만 django는 URL 경로가 www.mysite.com/django이거나 www.django.mysite.com 인 페이지를 제공하고 싶습니다. 서버에는 fastcgi가 설치되어 있으며 공유 서버입니다. 나는 유료 호스트를 의미합니까 공유 서버 깨끗한 URLYii와 Django를 함께 배포하는 방법
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