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