.htaccess problem with awstats and wordpress

.htaccess problem with awstats and wordpress

Posted by: mao
Posted on: 2007-03-02 01:11:00

Hi,
the wiki
http://wiki.dreamhost.com/index.php/Making_stats_accessible_with_htaccess
explain how to access "stats" when you install wordpress.
I've installed wordpress on my subdomain.xxx.com.
I followed that example and added my awstats subdir too, the problem is that my stats doesn't have icons and if I try to see them by hand with the browser (by entering in icons/xxxx/xx.jpg) I get sent to the wordpress page..

Why? I thought that all files under that dir were Ok..
here is the rule
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|awstats|failed_auth.html)/?(.*)$ [NC]
RewriteRule ^.*$ - [L]
</IfModule>


Cupons:MAO_HALFPRICE : pay only half of the price (L1 plans only) MAO97 get 97$ back

Re: .htaccess problem with awstats and wordpress

Posted by: mao
Posted on: 2007-03-02 13:16:00

Solved.
It turned out that I was looking into the wrong place.
That .htaccess is 100% correct.
The .htaccess inside awstats directory was wrong.
:)

Cupons:MAO_HALFPRICE : pay only half of the price (L1 plans only) MAO97 get 97$ back

Tags: wordpressdreamhostawstatshtaccesswikixxxxsubdomain