How to create an exception folder in a django site?
Posted
by ninja123
on Stack Overflow
See other posts from Stack Overflow
or by ninja123
Published on 2010-02-18T07:37:02Z
Indexed on
2010/05/23
7:10 UTC
Read the original article
Hit count: 338
There are a few folders where I house my django site that I want to be rendered as it would on any other non-django site. Namely, forum (vbulletin) and cpanel. I currently run the site with fastcgi. My .htaccess looks like this:
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]
What are lines I can add so www.mysite.com/forum can not be picked up by django url and be rendered as it would do normally. Thanks.
© Stack Overflow or respective owner