Making site stats accessible with htaccess

| No Comments | No TrackBacks

Dreamhost has a site stats facility included.

But sometimes it is not accessible because of the .htaccess file.

Say WordPress or some customized .htaccess file which will change the rewrite rule.

To make it works, add following code in top of the .htaccess file.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
RewriteRule . - [L]

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-1202.cgi/2255

Leave a comment

About this Entry

This page contains a single entry by David Yin published on October 17, 2008 11:50 AM.

Free your memory with Ram Idle LE was the previous entry in this blog.

Movable Type's 7th Anniversary is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.26

Subscribe

Online Tools