I installed the lite version earlier this afternoon and I've looked around for a solution and found none. I'm not getting any server errors, and only the wiki is affected.
Thanks for the quick response. Unfortunately, that didn't change anything. I still can't access any page under /wiki/. The quick links under the wiki tab (Search, Watched and Your Feeds) work fine.
Does the web server actually run at port 8080, or is 8080 the port of a reverse proxy? If it's a proxy, please make sure your server is properly configured so that PHP can see that the user entered through port 8080.
Upload the following test script to your site and visit it in a browser. Filename "port_test.php":
Code:
<?php
echo $_SERVER['SERVER_PORT'];
exit;
If you visit this and the response is a number that is not "8080", then something is wrong in the server configuration.
Once the server-port is correctly reported by PHP, change the edit to library/config.php that I suggested earlier (the previously posted answer is the solution to the opposite problem -- the proxy server at 80 forwards to web server at 8080). The new edit would be:
I tried reinstalling VaultWiki to see if that might fix the issue. I still have an infinite loop on any page under /wiki/, and I can't set permissions, clear caches or add areas in the wiki admin panel.
Since you are having an issue on some admin forms, it gives me a different idea:
Please try the following test script in your browser:
Code:
<?php
echo $_SERVER['HTTPS'];
If you access the script over https:// the script should return "1" or "on". If it returns nothing or a different value, this could explain the infinite redirect, especially if your server is configured to redirect http:// to https://. When a VaultWiki page tries to resolve a URL, it relies on the HTTPS state matching the protocol that was actually used.
In this case, you would need to update the way your web server invokes PHP so that it passes the correct HTTPS state to $_SERVER after the proxy occurs.
I was finally able to duplicate this issue here. Internally when figuring out the URL in the visitor's browser address bar, the port number was sometimes added to the URL twice. It will be fixed in the next release. In vault/core/model/vw.php, find:
Code:
if (!$host)
Replace with:
Code:
if ($host)
{
if (preg_match('#(.+):\d+$#U', $host, $m))
{
$host = $m[1];
}
}
else
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.