# Do not allow PHP scripts to be cached unless they explicitly send cache
# headers themselves. Otherwise all scripts would have to overwrite the
# headers set by mod_expires if they want another caching behavior. This may
# fail if an error occurs early in the bootstrap process, and it may cause
# problems if a non-Drupal PHP file is installed in a subdirectory.
ExpiresActive Off
Re: Drupal 6.15 及5.21 更新發佈
萬分感謝您的提醒:
主要的修改是在
(大約在77行)之前加入下面的內容:
# Do not allow PHP scripts to be cached unless they explicitly send cache
# headers themselves. Otherwise all scripts would have to overwrite the
# headers set by mod_expires if they want another caching behavior. This may
# fail if an error occurs early in the bootstrap process, and it may cause
# problems if a non-Drupal PHP file is installed in a subdirectory.
ExpiresActive Off
因為自己網站上的.htaccess曾經修改過,所以就備份並且直接覆蓋了6.15的.htaccess檔案。(⊙ˍ⊙)
呼~還好有看到這篇文章。希望大家不會跟我一樣粗心(# ̄▽ ̄#)
***************************************
聯繫Thomas Fan
Drupal 水隆投