Results 1 to 10 of 10

testvb

This is a discussion on testvb within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Im trying to setup testvb area so i can do some testing. However when i try to go to the ...

  1. #1
    Junior Member
    Real Name
    Andy Xie
    Join Date
    Aug 2006
    Posts
    15
    Liked
    0 times

    testvb

    Im trying to setup testvb area so i can do some testing. However when i try to go to the testvb area, it simply gave me a 404 error

    if I remove the .htaccess in my forum root, then it will work, otherwise it doesnt

    here's my .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 %{REQUEST_FILENAME} !testvb/
    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)
    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)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{HTTP_HOST} ^animeost\.net [NC]
    RewriteRule ^(.*)$ http://www.animeost.net/$1 [R=301,L]
    RewriteCond %{HTTP_HOST} ^www 
    RewriteRule ^forums(.*)$ http://www.animeost.net/$1 [R=301,L]

  2. #2
    Junior Member
    Real Name
    Dustin
    Join Date
    Dec 2006
    Posts
    11
    Liked
    0 times
    From my understanding you have to file a ticket to the vbseo team for the staff to update your license to be able to set it up for a test forum.

  3. #3
    Junior Member
    Real Name
    Andy Xie
    Join Date
    Aug 2006
    Posts
    15
    Liked
    0 times
    but the testvb forum will not have vbseo enabled. Im just using that forum as to test hacks from vb.org and see it's effects. However somehow the .htaccess file is preventing me to go to http://www.site.com/testvb ... but if i remove the .htaccess file, then itworks. Inside the testvb/ directory it also has a .htaccess file and .htpasswd files, since it's a requirement to setup a password protected directory for testvb forums

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    I suck at htacces/apache, but I beleive this is wrong:

    Code:
    RewriteCond %{REQUEST_FILENAME} !testvb/
    try replacing that with this:

    Code:
    RewriteCond %{REQUEST_URI} !^testvb/?$

  5. #5
    Junior Member
    Real Name
    Andy Xie
    Join Date
    Aug 2006
    Posts
    15
    Liked
    0 times
    Quote Originally Posted by briansol View Post
    I suck at htacces/apache, but I beleive this is wrong:

    Code:
    RewriteCond %{REQUEST_FILENAME} !testvb/
    try replacing that with this:

    Code:
    RewriteCond %{REQUEST_URI} !^testvb/?$
    nope it didnt work =[

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    this may be related to the ErroDocument declaration in apache configuration. Please try to create empty 401.shtml file in domain root.

  7. #7
    Junior Member
    Real Name
    Andy Xie
    Join Date
    Aug 2006
    Posts
    15
    Liked
    0 times
    yes that works... thanks!!

  8. #8
    Junior Member
    Real Name
    Joe Velez
    Join Date
    Nov 2006
    Posts
    29
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    this may be related to the ErroDocument declaration in apache configuration. Please try to create empty 401.shtml file in domain root.
    this should be included in the troubleshooting.txt

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    It is, look for the entry #20

  10. #10
    Junior Member
    Real Name
    Joe Velez
    Join Date
    Nov 2006
    Posts
    29
    Liked
    0 times
    yea, I noticed that AFTER I posted this .. went thru it again

    thanks Oleg :up:

Similar Threads

  1. Directories don't work with vbSEO... continuation
    By Mr. Tech in forum Bug Reporting
    Replies: 3
    Last Post: 10-09-2005, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •