Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Is it possible to set up a UBB 6.6 forum so that it is my home page?

Example: I want it so that when a person goes to http://www.mydomainname.com they are taken directly to my forum or the login page.

Is that possible? If so, what do I need to do?

I am using UBB Classic 6.6 and FP2002.

Anonymous
Unregistered
Anonymous
Unregistered
I didn't mean for the link above to be active, sorry.

Anonymous
Unregistered
Anonymous
Unregistered
Hi Mark-

You could do this, sure <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

You'd need to create an index.html or .htaccess file with a redirect in it and place it in your html or www directory (you may need to consult with your host about its exact placement).

Here's some sample code for each of the files. This is actually from our own FAQ for our web hosting, but the principles are the same:

Method 1: .htaccess file

NOTE - if you have FrontPage extensions enabled, you may already have a .htaccess file. If this is the case, simply edit the file to add the line shown below.

If you do not already have a .htaccess file, use a text editor (like Notepad) to create a file named .htaccess (note the leading period) and add the following line.

<pre> Redirect /index.html (enter board URL here) </pre>

Method 2: Meta code in index.html


<pre> <html>
<head>
<meta http-equiv="refresh" content="0; URL=(enter URL to board here)
</head>
</html> </pre>

Kristi Horn
Infopop Customer Support
Visit our Support Area!

Anonymous
Unregistered
Anonymous
Unregistered
Method 3:

In your .htaccess file described by Kristi above, add this line:

DirectoryIndex anyfile1.html anyfile2.html ultimatebb.cgi

Replace "anyfile1.html" and "anyfile2.html" or remove them entirely. (My file specifies "index.html index.shtml ultimatebb.cgi".)

This forces the web server to search, in order, for those three files to display as the default page. By specifying "ultimatebb.cgi", the web server will automatically load that page when the directory is accessed.

(I used to have a site to demostrate this, but it's offline...)

I have no idea if this option is better than "method 1" above. But, I do know that it avoids loading and refreshing the index.html page as described in "method 2." (Also, Kristi's code is missing a ">" at the end of the meta tag. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> )

Caveat: Don't .htacess files apply only to Apache? If you're running Windows IIS, I think you'll need a different method...

--
Jonathan Bare
Apple Certified Technical Coordinator
Certified Member of the Apple Consultants Network

Anonymous
Unregistered
Anonymous
Unregistered
I use method 3 in my site, it's something like:
<pre>DirectoryIndex cgi-bin/ultimatebb.cgi ultimatebb.cgi</pre> then also if you visit the main page and not /cgi-bin folder it automatically shows you the board..
the good thing about method 3 is you can type servername.com?ubb=faq for example and it shows you the FAQ, without the need to add /cgi-bin/ultimatebb.cgi

--------------------
<img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
If you are running IIS, you can set Default Documents for a directory, for example on my Internal site, I have index.php in the list. This can be changed via Internet Service Manager, Properties on the website, documents tab.

---------------------
Suite Madame Blue....Gaze in your looking glass..you're not a child any more!
TheGeeksInc.com Forums
Have you tried Everwars yet?

Anonymous
Unregistered
Anonymous
Unregistered
Conversely, can you have your UBB URL re-direct to an html page?

I'm planning early for an April fool's prank…hee hee.

Anonymous
Unregistered
Anonymous
Unregistered
Conversely, can you have your UBB URL re-direct to an html page?

Anonymous
Unregistered
Anonymous
Unregistered
Sure, you can use Kristi's two methods above to redirect the ultmatebb.cgi page to another page.

--
Jonathan Bare
Apple Certified Technical Coordinator
Certified Member of the Apple Consultants Network

Joined: Dec 2003
Posts: 16
B
stranger
stranger
B Offline
Joined: Dec 2003
Posts: 16
I tried following this info and something got weird...

When I access the site the usual way, with full URL everything is fine... http://dragboatalley.com/cgi-bin/ultimatebb.cgi

But now that I uploaded an index.htm file with a meta tag refesh pointing to the above URL, all is not well when I try to access the board from http://dragboatalley.com/

The board seems to come up fine, but you cant login nor post messages (if cookie gets you past login). No error message, but nothing happens. It's like the form post action isnt getting recognized and you just get dumped back at the home page with no action take (login not recognized or message not posted). weird huh?

Its a Windows 2000 server, UBB6.6.1 and I've had php accelerator on for some time, and I triple checked all the permissions are fine and my virtual directories in IIS are as they should be. Any ideas why this would be flaky???

Joined: Dec 2003
Posts: 55
M
journeyman
journeyman
M Offline
Joined: Dec 2003
Posts: 55
hello, it looks like you put it back to a regular index page - are you still planning to try this?

Joined: Dec 2003
Posts: 16
B
stranger
stranger
B Offline
Joined: Dec 2003
Posts: 16
Hi Allen.
i tried and tried and tried several diff approaches the day my site went live and couldnt get it to work. I even used up a microsoft tech support credit and posed the question of what needed done to get IIS5 to use a default document on a cgi script map. they took me thru this god awful setup on an isapi extension and that didnt work, so currently my problem is still an open ticket and I gave up and settled for the static index page.

since all this, I've also found the same behavior consistently re-appeared when I tried using a meta tag refresh to reload the forum home page if folks were camping on it. And it always happens if I click the link the forum home page link from the bread crumb trail in the control panel (brown bar of links beneath the header). Once I found this pattern I tried running the site for a day without php accelerator turned on suspecting IIS was too stupid to use it properly, and that made no difference either. (But I sure did notice a difference in response time!!)

But i hate being a quitter.... even tho the pain and suffering has convinced me I can live with the static index page, so if anybody has any ideas I'll be happy to try again late at night

Joined: Dec 2003
Posts: 16
B
stranger
stranger
B Offline
Joined: Dec 2003
Posts: 16
P.S. here's my list of "things tried and failed" in case it helps any...

- meta tag refresh at 0 seconds
- meta tag refresh at 1 seconds
- default document set with pathing info to point to ultimatebb.cgi
- default document set with pathing info to point to ultimatebb.php
- default document set to both of the above without pathing info
(document not found or 403 errors result from all the above)
- default directory changed to folder above web root where cgi-bin and ubb directories live (to eliminate virtual directories) and both default document settings tried
- default directory changed to cgi-bin directory which of course busted everything
- microsoft tech support bogus solution for php isapi extension (which locked up the server completely)

and yeah... i tried hard <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Joined: Dec 2003
Posts: 55
M
journeyman
journeyman
M Offline
Joined: Dec 2003
Posts: 55
you could set your ultimatebb.php page as the default page for your directory... - why wouldn't that work? hmmm.... Are you on win2k or 2003?

Joined: Dec 2003
Posts: 16
B
stranger
stranger
B Offline
Joined: Dec 2003
Posts: 16
Win2k with all the latest service packs

and in Win2k, it no likes it if your "default document" isnt directly in the default directory for the website.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 375 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)