awstats and wordpress htaccess problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roly
    Confirmed User
    • Aug 2002
    • 1844

    #1

    awstats and wordpress htaccess problem

    hi

    i have just upgraded my apache from 1.3 to 2.2.9 and now my modrewrite doesn't work as it did, so if anyone can advise on the correct format for my requirements it would be appreciated.

    i have awstats in a folder called awstats, and i have permalinks setup on wordpress. as i say this did work before but can't access awstats folder now, i just get a 404 with wordpress.

    this is my htaccess:

    Code:
    Options +FollowSymLinks 
    RewriteCond %{REQUEST_URI} ^/awstats/ 
    RewriteRule .* - [L] 
    
    # BEGIN WordPress 
    <IfModule mod_rewrite.c> 
    RewriteEngine On 
    RewriteBase / 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule . /index.php [L] 
    </IfModule> 
    
    # END WordPress
    if i comment out the wordpress rules i can access awstats without any problem and the wordpress rules work, so it's a problem with my rewrite rules but i'm not sure what?

    if anyone can see where i am going wrong it would be greatly appreciated.

    thanks in advance

    roland
Working...