• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • mod rewrite question

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Page 2 of 2 FirstFirst Previous 12
    Results 16 to 22 of 22

    Thread: mod rewrite question

    • Thread Tools
      • Show Printable Version
    1. February 28, 2011 #16
      tagman
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      tagman is offline
      Junior Member
      Join Date
      February 5, 2011
      Posts
      27
      Rep Power
      160
      Doesn't seem to have helped.
      Reply With Quote Reply With Quote

    2. February 28, 2011 #17
      ashley76
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      ashley76 is offline
      Regular Member
      Join Date
      February 12, 2011
      Posts
      49
      Rep Power
      162
      So here is my .htaccess file now after generating and making the changes...

      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 %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
      RewriteCond %{REQUEST_URI} !showwiki_proxy.php
      RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
      RewriteRule ^(.+)$ vbseo.php [L,QSA]
      
      RewriteEngine On
      RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
      
      RewriteEngine On
      RewriteBase /
      
      RewriteRule ^showwiki.php?title=(.*)$ showwiki/$1 [L,R=301]
      RewriteRule ^showwiki/DC_Wiki:(.*)$ showwiki/$1 [L,R=301]
      
      RewriteRule ^showwiki$ showwiki/ [L,QSA,R=301]
      
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^showwiki/(.*)?$ showwiki_proxy.php [L,QSA]
      I am still getting invalid forum pages when going into the wiki though...
      Reply With Quote Reply With Quote

    3. February 28, 2011 #18
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      @tagman, in this case the problem is occurring after .htaccess or vBSEO. Your site seems to be having trouble fetching the contents of an article from the URL. If you PM me, I can debug the /vault files and get this working for you.

      @ashley76, when editing .htaccess, make sure you place the generated rules above any rules for vBSEO.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    4. February 28, 2011 #19
      ashley76
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      ashley76 is offline
      Regular Member
      Join Date
      February 12, 2011
      Posts
      49
      Rep Power
      162
      ah... let me give that a shot first!
      Reply With Quote Reply With Quote

    5. February 28, 2011 #20
      ashley76
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      ashley76 is offline
      Regular Member
      Join Date
      February 12, 2011
      Posts
      49
      Rep Power
      162
      That did it pegasus! Thanks a ton!
      Reply With Quote Reply With Quote

    6. February 28, 2011 #21
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      @tagman, after thorough investigation, the issue you are facing is a bug in vBSEO (which I have gone ahead and fixed on your site). Please report the following to them.

      In vbseo/includes/functions_vbseo_hook.php, find:
      Code:
      if(!strstr($_SERVER['HTTP_REFERER'],$_SERVER['VBSEO_URI']) AND !vbseo_is_threadedmode())
      Not sure why, but this throws a 500 server error on your server when: $_SERVER['HTTP_REFERER'] is empty, and this is common IIRC.

      To account for this possibility, the line should instead be:
      Code:
      if((!$_SERVER['HTTP_REFERER'] OR !strstr($_SERVER['HTTP_REFERER'],$_SERVER['VBSEO_URI'])) AND !vbseo_is_threadedmode())
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. February 28, 2011 #22
      tagman
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      tagman is offline
      Junior Member
      Join Date
      February 5, 2011
      Posts
      27
      Rep Power
      160
      Thanks again Pegasus.

      Here is the bug report I submitted to vbseo.
      http://www.vbseo.com/f3/500-server-e...51/#post303702
      Reply With Quote Reply With Quote

    Page 2 of 2 FirstFirst Previous 12

    Similar Threads

    1. Mod Rewrite Help
      By Elenna in forum VaultWiki Questions
      Replies: 4
      Last Post: April 4, 2013, 7:54 PM
    2. mod rewrite and special pages
      By cosy in forum VaultWiki Questions
      Replies: 1
      Last Post: December 7, 2011, 4:55 PM
    3. Another question . . .
      By maryx in forum VaultWiki Questions
      Replies: 1
      Last Post: July 31, 2011, 2:54 AM
    4. Pricing question and upgrade question
      By Alan_SP in forum Pre-Sales Questions
      Replies: 4
      Last Post: March 22, 2011, 6:16 PM
    5. nginx rewrite rules
      By SSSlippy in forum VaultWiki Questions
      Replies: 4
      Last Post: July 28, 2010, 9:30 PM

    Tags for this Thread

    able, any, because, can, code, files, for, generate, htaccess, know, missing, mod, needed, only, options, put, question, rewrite, server, set, settings, stuff, that, the, them, vaultwiki, when, wiki

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:57 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.