Version: 1.00, by JamesFrost
Developer Last Online: Sep 2006
Version: 3.0.0
Rating:
Released: 02-21-2004
Last Update: Never
Installs: 13
Is in Beta Stage
No support by the author.
OK, this isn't the nicest way of doing it I'm sure, but it works!
What this does is change the path of archive files in VB
from /forums/archive/index.php/.......
to /archive/......
In theory google should spider the archive pages better, as they do not look php generated. My archive (www.martialartsplanet.com/archive) is certainly getting google picking it up, where it was not before.
I've only tested this on one site - let me know how it goes!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
.htaccess files works great on IIS (if you install an ISAPI filter for it), but the problem is that the native vb3 archive uses something apache specific and that is why - it doesnt work
.htaccess files works great on IIS (if you install an ISAPI filter for it), but the problem is that the native vb3 archive uses something apache specific and that is why - it doesnt work
Ah, I see. This hack uses the native vb3 archive as a starting point (and only changes a redirect function within it). Unlikely that it would work on IIS if the native one doesn't.
I'm thinking of writing one from scratch, but that will be many months away due to other commitments.
Out of interest, what is the code that is apache specific?
I am extremely interested, because for users of IIS there is no archive feature for vb3 at the moment. I am not sury what is apache specific, but I know, that even with this ISAPI filter which is 100% compatible to htaccess - it comes a blank page.
I am extremely interested, because for users of IIS there is no archive feature for vb3 at the moment. I am not sury what is apache specific, but I know, that even with this ISAPI filter which is 100% compatible to htaccess - it comes a blank page.
Also, I'm no VB expert, but try changing the following code in /archive/global.php
PHP Code:
// check to see if server is too busy. this is checked at the end of session.php
if ((!empty($servertoobusy) AND $bbuserinfo['usergroupid'] != 6) OR $vboptions['archiveenabled'] == 0 OR strpos(SAPI_NAME, 'apache') === false)
{
exec_header_redirect("$vboptions[bburl]/$vboptions[forumhome].php");
}
to
PHP Code:
// check to see if server is too busy. this is checked at the end of session.php
if ((!empty($servertoobusy) AND $bbuserinfo['usergroupid'] != 6) OR $vboptions['archiveenabled'] == 0 )
{
exec_header_redirect("$vboptions[bburl]/$vboptions[forumhome].php");
}
as the original code seems to specifically check if it is running apache. Surely this cant be the problem!
I am running apache under windows 2003 at the moment. That is the reason why it is working now.
I've tried the global.php change in my previous post on my XP machine running IIS, and this does indeed fix the issue of the archive redirecting to the forum page.
I get the first page OK, but the subsequent links dont work. However, W2k may handle this better.
hmm... but nevertheless - the archive doesnt support IIS and it is really a big problem according to the fact, that about 30 % of all servers running IIS.