Awstats within Wordpress

Discussion in 'Plugins/Modules/Addons' started by supportunlimited, Nov 14, 2013.

  1. supportunlimited

    supportunlimited New Member HowtoForge Supporter

    I am using the latest version of ISPConfig 3.

    I can get awstats to work without a wordpress install, but when I try to access awstats on a wordpress site I get "cannot create awsindex.html" in my log files.
    From a browser i get the usual wordpress 404 error.
    I went into the .htaccess file and added the following to try and clear it up, but this didn't work either

    ErrorDocument 401 "Error"
    ErrorDocument 403 "Error"

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

    Any suggestions?
  2. dclardy

    dclardy Member

    Can you change the error formats to this one?

    ErrorDocument 401 default
    ErrorDocument 403 default

    I don't think that you need the <If block> that you have there either.

Share This Page