to all you guys having a problem with this, i did have it working and then it syopped when i recently upgraded apache an i couldn't figure out why. the reason was that my default 401 error page had changed in httpd.conf and i was getting a conflict with the password protected awstats folder, it was driving me nuts until i found the solution. for anyone who can't get it to work add a 401 error page to your html folder and the following line to your htaccess
ErrorDocument 401 /401.shtml
so my working htaccess file is now
Code:
Options +FollowSymLinks
ErrorDocument 401 /401.shtml
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^awstats(/.*)?$ - [L]
# BEGIN WordPress
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
</IfModule>
it may look like a stupid solution but if you can't get it to work on your server give this a try.