The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
How do I modify it to redirect to my VB URL?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I believe you can just make a new file and call it forumsummary.cgi, and Ultimate.cgi and upload in place of your existing ones.
Code:
#!/usr/bin/perl print "Location: http://www.yourdomain.com/forums/\n\n"; |
|
#3
|
|||
|
|||
|
What we did was make an .htaccess file that redirected all 404's to the new forum's index page, and then deleted everything in the ubb and ubbcgi directories, leaving only the .htaccess. Backup your data first though.
|
|
#4
|
|||
|
|||
|
May I have a sample of your htaccess file?
|
|
#5
|
|||
|
|||
|
ErrorDocument 404 http://www.were-here.com/forums/index.php
Just point it wherever you would like the it to go to ![]() This only works on UNIX not NT, and make a good backup of your UBB before you delete, just in case ![]() [Edited by werehere on 05-29-2000 at 02:52 AM] |
|
#6
|
|||
|
|||
|
Quote:
move Ultimate.cgi to something else, like Ultimate.cgi.safe Create a new file, Ultimate.cgi, and put this in it: Code:
#!/usr/local/bin/perl print "Content-type: text/html\n\n"; print "<HTML>\n"; print "<HEAD>\n"; print "<TITLE>\n"; print "</TITLE>\n"; print "<meta http-equiv=\"Refresh\" content=\"0; URL=/forum/index.php\">\n"; print "</HEAD>\n"; print "<BODY>\n"; print "<H3>The URL For the Forums has been changed. You should be automatically redirected to the new pages. If your Browser doesn't automatically forward you, click <A HREF=\"/forum/index.php\">Here</A> </H3>\n"; print "</BODY>\n"; print "</HTML>\n"; Remember: Those \'s are needed to escape the ""'s! Katherine |
![]() |
|
|