After upgrading, you can get the following if you still try to access VaultWiki via showwiki.php:
Code:
Configuration error: wiki_index.php was called by another PHP script.<br />This can cause an infinite loop if the calling script is the same as the DEFAULT_SCRIPT.
Since showwiki.php is a valid alias for wiki_index.php because of upgrades, this is a bug.
Fixed in the current build. If you believe you experience this issue, in wiki_index.php, find:
Code:
if (basename(array_shift($inc)) != 'wiki_index.php')
Replace with:
Code:
define('VW_REQUESTED_SCRIPT', basename(array_shift($inc)));
if (VW_REQUESTED_SCRIPT != 'wiki_index.php' AND VW_REQUESTED_SCRIPT != 'showwiki.php')
# 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 /
# If filename is not 'wiki_index', replace WIKI_FILE and uncomment the following line
# RewriteRule ^wiki.php wiki_index.php [L,QSA]
# If URL format is /wiki/path or replaces a catch-all rule, uncomment the following 3 lines
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
#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|api\.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
RewriteBase /
# If filename is not 'wiki_index', replace WIKI_FILE and uncomment the following line
# RewriteRule ^WIKI_FILE.php wiki_index.php [L,QSA]
# If URL format is /wiki/path or replaces a catch-all rule, uncomment the following 3 lines
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)?$ wiki_index.php [L,QSA]
And considering you said to replace wiki_index.php with vbseo.php, there's no need to have the second half, because vbseo already provided
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.