【发布时间】:2014-11-21 02:23:11
【问题描述】:
我的 .htaccess 文件中有以下内容:
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]
服务器管理员安装了 Google mod_pagespeed,当然,因为该文件夹不存在,它每次尝试访问 /mod_pagespeed_beacon 时都会记录一个错误(并且没有记录任何统计信息)。
我需要添加什么RewriteCond(以及在哪里添加)才能使/mod_pagespeed_beacon 起作用?
【问题讨论】:
-
仅供参考,您可以通过 mod-pagespeed-discuss@googlegroups.com 与我们联系,并通过 code.google.com/p/modpagespeed/issues/list 列出问题
标签: .htaccess mod-rewrite mod-pagespeed