UBB.Dev
Posted By: afterlab Help Me - 07/28/2001 7:28 AM
Hey, do you know how to make a directory, such as http://www.ffrepublic.com/forums, make the directory index file, ultimatebb.cgi

Example: If I was to type http://ffrepublic.com/forums it should go straight to the http://ffrepublic.com/forums/ultimatebb.cgi file, instead of index.htm.

Anyone know how to do this?
Posted By: Javier97Z28 Re: Help Me - 07/28/2001 7:54 AM
Your best bet would be to just make it a simple frame page... and have the top frame of the page at 0% and a blank html page, and have the bottom frame at 100% using the forum's url as the page to load...

Then call the frame page index.html smile
Posted By: Travis Re: Help Me - 07/28/2001 8:03 AM
or use a javascript to redirect.
Posted By: afterlab Re: Help Me - 07/28/2001 8:11 AM
Thanks Javier and Travis.. I have decided to use a javascript.
Posted By: Andreas Re: Help Me - 07/28/2001 8:15 AM
You better use htaccess to do that.

Pop this line into an .htaccess file:

DirectoryIndex ultimatebb.cgi

and then upload the htaccess file into the forum directory.
Well that should be it. tipsy
Posted By: afterlab Re: Help Me - 07/28/2001 8:23 AM
Andreas.. I try that and it never works. It always pulls up a can't find errordocument error and a forbidden error.
Posted By: navaho Re: Help Me - 07/28/2001 8:26 AM
That works smile

Less elegant:
Redirect /index.html http://www.mydomain.com/cgi-bin/ultimatebb.cgi

I use this to send http://ubbforums.infopop.com to http://ubbforums.infopop.com/cgi-bin/ultimatebb.com

Andreas' works best if your just want to change the index of a directory, mine works to send you to a different directory. Now you know both ways. smile

Kenji, it may not work for you if AllowOverride is disabled or if the override options are limited.

[ July 28, 2001: Message edited by: navaho ]
Posted By: Lord Dexter Re: Help Me - 07/28/2001 11:02 AM
How do you redirect it to the UBB forums address? What do you need to edit? Or do you put a HTML passage in index.html to redirect to the forum?
Posted By: LK Re: Help Me - 07/28/2001 12:24 PM
In my board I made that the default document (the part that makes it automatically open index.htm) also opens "ultimatebb.cgi" and "cgi-bin/ultimatebb.cgi", so you can also use http://lkubb.dns2go.com?ubb=chat and it will be redirected to the chat
© UBB.Developers