vbulletin with vbseo... cant access stats

Discussion in 'General' started by gjcomputer, May 6, 2008.

  1. gjcomputer

    gjcomputer ISPConfig Developer ISPConfig Developer

    i have vbulletin 3.7.0 with vbseo installed and working properly. it seems something has now happened and i cant access mysite/stats. i have it set to redirect 404 not found to homepage, but the stats folder is there, and should work right?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post your .htaccess file containing the mod_rewrite rules?
     
  3. gjcomputer

    gjcomputer ISPConfig Developer ISPConfig Developer

    here is the main .htaccess file

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron|stats)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|stats)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
     
  4. falko

    falko Super Moderator ISPConfig Developer

    And you're getting a 404 when you try to access stats?
     

Share This Page