Fixed #3833 - added "PT" flag to mod_rewrite/fcgi example in documentation. Thanks, Nesh.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2007-06-07 18:01:17 +00:00
parent e9a3e2faf0
commit 43a06c9a9a
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ This is probably the most common case, if you're using Django's admin site::
DocumentRoot /home/user/public_html DocumentRoot /home/user/public_html
Alias /media /home/user/python/django/contrib/admin/media Alias /media /home/user/python/django/contrib/admin/media
RewriteEngine On RewriteEngine On
RewriteRule ^/(media.*)$ /$1 [QSA,L] RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ /mysite.fcgi/$1 [QSA,L] RewriteRule ^/(.*)$ /mysite.fcgi/$1 [QSA,L]
</VirtualHost> </VirtualHost>