• 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
    • nginx rewrite rules

    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.

    Results 1 to 5 of 5

    Thread: nginx rewrite rules

    • Thread Tools
      • Show Printable Version
    1. June 28, 2010 #1
      SSSlippy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      SSSlippy is offline
      Junior Member
      Join Date
      March 30, 2010
      Posts
      7
      Rep Power
      0

      nginx rewrite rules

      Anyone have any rewrite rules for them?
      Reply With Quote Reply With Quote

    2. June 29, 2010 #2
      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,959
      Blog Entries
      18
      Rep Power
      687
      Without knowing all your Server Settings and your namespace custom paths, it's hard to say what your rewrite rules should be.

      This is an example:
      Code:
      #
      # VaultWiki Rewrite
      #
      if (!-e $request_filename) {
               rewrite ^/wiki.php$ /showwiki.php last;
               rewrite ^/wiki$ /wiki/ permanent;
               rewrite ^/wiki/(?:(custom_path1|custom_path2|etc)/(.*)?)?$ /showwiki_proxy.php last;
      }
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. July 25, 2010 #3
      SSSlippy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      SSSlippy is offline
      Junior Member
      Join Date
      March 30, 2010
      Posts
      7
      Rep Power
      0
      ok slight issue with the rewrite rules. Its making the URL http://immortal-guild.net/forums/sho...-Conan:Charter however it should be http://immortal-guild.net/showwiki.p...-Conan:Charter.

      Any advice?

      I have
      Code:
              rewrite entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /entry.php?b=$1&page=$2&$query_string last;
              rewrite threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /showthread.php?t=$1&page=$2&$query_string last;
              rewrite members/([0-9]+) /member.php?u=$1&$query_string last;
              rewrite forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /forumdisplay.php?f=$1&page=$2&$query_string last;
              rewrite blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) /blog.php?u=$1&page=$2&$query_string last;
              rewrite list/([^/]*/)([0-9]+) /list.php?r=$1$2&$query_string last;
              rewrite content/(.*) /content.php?r=$1&$query_string last;
              rewrite widget/config/([0-9]+) /widget.php?r=config/$1&$query_string last;
               rewrite ^/wiki.php$ /showwiki.php last;
               rewrite ^/wiki$ /wiki/ permanent;
               rewrite ^/wiki/(?:(custom_path1|custom_path2|etc)/(.*)?)?$ /showwiki_proxy.php last;
      Reply With Quote Reply With Quote

    4. July 25, 2010 #4
      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,959
      Blog Entries
      18
      Rep Power
      687
      Check Settings > Options > VaultWiki: Server Settings, and please list your desired values for these.
      If you want any custom paths for any item in VaultWiki > Namespace Manager, please include those as well.

      From what you're telling me, it sounds like the Wiki Base URL is incorrect, but I'll wait and see.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. July 28, 2010 #5
      SSSlippy
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      SSSlippy is offline
      Junior Member
      Join Date
      March 30, 2010
      Posts
      7
      Rep Power
      0
      I forgot I had forced links thank you for the rewrite rules.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Mod Rewrite Help
      By Elenna in forum VaultWiki Questions
      Replies: 4
      Last Post: April 4, 2013, 7:54 PM
    2. Nginx troubles
      By JesterP in forum General Discussion
      Replies: 3
      Last Post: April 4, 2012, 9:28 PM
    3. Issues with Follow Edit Moderation Rules settings
      By Alfa1 in forum VaultWiki Questions
      Replies: 1
      Last Post: December 13, 2010, 4:10 PM
    4. Rewriting nginx proxy to apache
      By Moses in forum VaultWiki Questions
      Replies: 2
      Last Post: August 10, 2010, 8:20 PM
    5. Sub-Domains on nginx
      By Moses in forum VaultWiki Questions
      Replies: 2
      Last Post: February 9, 2010, 6:55 AM

    Tags for this Thread

    age, all, any, anyone, check, code, custom, example, file, filename, for, hard, have, last, namespace, nginx, php, proxy, rewrite, rules, server, server settings, set, settings, showwiki, them, vaultwiki, what, wiki, without, your

    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 9:55 AM.
    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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.