Previous Thread
Next Thread
Print Thread
Rate Thread
#75189 07/28/2001 12:28 AM
Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
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?

Sponsored Links
#75190 07/28/2001 12:54 AM
Joined: May 2001
Posts: 88
Member
Member
Offline
Joined: May 2001
Posts: 88
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

#75191 07/28/2001 1:03 AM
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
or use a javascript to redirect.


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
#75192 07/28/2001 1:11 AM
Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
Thanks Javier and Travis.. I have decided to use a javascript.

#75193 07/28/2001 1:15 AM
Joined: May 2000
Posts: 3
Member
Member
Offline
Joined: May 2000
Posts: 3
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

Sponsored Links
#75194 07/28/2001 1:23 AM
Joined: May 2001
Posts: 315
Member
Member
Offline
Joined: May 2001
Posts: 315
Andreas.. I try that and it never works. It always pulls up a can't find errordocument error and a forbidden error.

#75195 07/28/2001 1:26 AM
Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
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 ]


Picture perfect penmanship here.
#75196 07/28/2001 4:02 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
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?

#75197 07/28/2001 5:24 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)