DreamHost自帶的日志不能查看的解决

  使用DreamHost并且安装了WordPress的朋友会发现DH提供的日志不能查看,这是因为WordPress的.htaccess代替了原有rewrite规则造成的,解决方法如下:
编辑站点目录下的.htaccess文件,添加以下内容。
[code]RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ – [L][/code]

Technorati Tags: , , , ,

6 Responses to “DreamHost自帶的日志不能查看的解决”

Leave a Reply

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).