Recent Topics

URL bug?

Started by on Jun 09, 2009 – Contents updated: Jun 09, 2009

Jun 09, 2009 18:39    

I dont know if this is a bug or not...

When I access these URLs:

  • - it is rewritten as
  • (with or without a trailing slash) - it is rewritten as
  • - fails
  • - fails
  • - gets rewritten as
  • [/list:o]

    Items #3 and #4 shouldn't fail at all since the .htaccess clearly works as proven by Item #5. But for some weird reason, it does fail.

    It doesn't end there however, the two URLs above that failed works in another b2evolution installation. Following the same format:

  • - rewritten as
  • - rewritten as
  • [/list:u]

    What checks did I do?

  • Backoffice settings - all are identical especially URL settings
  • /conf/ settings - all are identical (except of course the URL and DB/password stuff)
  • .htaccess - identical as well
  • [/list:u]

    The differences between the two:

  • - runs on 3.2.0 CVS June 3, 2009
  • - runs on 3.1.0 CVS May 13, 2009
  • b2evolution in is under a sub-folder
  • b2evolution in is in the domain root itself
  • [/list:u]

    That's why I do not know if this is a bug, since the .htaccess works fine as intended, and the same setup works in another b2evo installation.

    Anyone have ideas? Anything I missed?

    tnx. tnx.

    Jun 09, 2009 18:42

    My .htaccess


    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /blog/
    # Remove www prefix - non-hardcode
    RewriteCond %{HTTP_HOST} ^www\.([^.]+\.[a-z]{2,6})$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    # this will select the default blog template to be displayed
    # if the URL is just .../blogs/
    <IfModule mod_dir.c>
      DirectoryIndex index.php index.html
    # The following will allow you to have URL right off the site root,
    # using index.php as a stub but not showing it.
    # This will add support for URLs like:
    # Redirect anything that's not an existing directory or file to index.php
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php

    Form is loading...

    powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.