Since I don't have ready access to the domain name server, I tried to put a .htaccess redirect on the "from" board and hoped that the vBulletin board would capture the inbound requests and redirect them.
The redirect experiment did not go well. I could not get the behavior I was looking for on either end.
This is the contents of the .htaccess file located on the bbv2 site:
Code:
# bbv2 assigns .boy .pm and .cgi to the cgi-script handler in Apache
# Trailing slash references to nawcc-mb.com/bbv2/
AddHandler cgi-script .boy .pm .cgi
DirectoryIndex bbBoard.cgi bbBoard.cgi
# vBulletin message board has a 404 redirect to map bbv2 references to vBulletin references
# The bbBoard.cgi reference will be trapped by the 404 handler on mb.nawcc.org - disable until ready
Redirect permanent /bbBoard.cgi http://mb.nawcc.org/bbv2/bbBoard.cgi
I expected this to catch the reference to bbBoard.cgi and send it to mb.nawcc.org. The top two directives were already in the .htaccess file.
I put the 404 trap handler on mb.nawcc.org and edited the .htaccess file there to read:
Code:
ErrorDocument 404 /var/www/html/404t.php
php_flag log_errors on
php_value error_log /var/www/html/php_error.log
I had already been using the php error log to debug the migration software.
I tried changing the path for 404t.php to just "/" and to nothing but the file name as well as the form shown in the code box.
References to the old board are not redirected, they just display the old board.
If I edit the reference on my browser address line to substitute the new board address, I just get a 404 error. If I directly reference mb.nawcc.org/404t.php, the debug message prints when I turn on debug. With debug off, I get a 500 error, but nothing in the php error log.
Can someone tell me how the .htaccess files should be set up? I am stuck at this point.