有几个文件夹存放我的 django 站点,我希望像在任何其他非 django 站点上一样呈现这些文件夹。即论坛(vbulletin)和cpanel。我目前使用 fastcgi 运行该站点。我的 .htaccess 看起来像这样:
AddHandler application/x-httpd-php5 .htm
AddHandler application/x-httpd-php5 .html
AddHandler fastcgi-script .fcgi
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
AddHandler application/x-httpd-php5 .htm
RewriteCond %{REQUEST_URI} !(mysite.fcgi)
RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L]
我可以添加哪些行,以便 django url 无法获取 www.mysite.com/forum 并按正常方式呈现。谢谢。