»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-21-2004, 03:25 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
htaccess help needed

Lets assume I have a server called www.server.com and on this server I have a folder called /bingo.

I would like people to be forwarded to the folder /bingo whenever they type www.server.com into their browser.

I think I can do this using htaccess, but does anyone know what parameters I need to enter into the htaccess file?

Thank you.

ClubMed is offline   Reply With Quote
Old 04-21-2004, 03:28 AM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
Would this work:

Redirect / http://www.server.com/bingo

?
ClubMed is offline   Reply With Quote
Old 04-23-2004, 12:44 AM   #3 (permalink)
Registered User
 
Join Date: Mar 2004
Posts: 45
sice is on a distinguished road
i know this method im about to give doesnt use htaccess, but its a solution you can use if you dont find out how to do it via htaccess

if you have php enabled on your server then:

open the index.php file for www.server.com and add this line to the top:

<? php header("Location: http://www.server.com/bingo"); ?>

that will take care of it.
sice is offline   Reply With Quote
Old 04-25-2004, 11:56 PM   #4 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
Quote:
Originally posted by ClubMed
Would this work:

Redirect / http://www.server.com/bingo

?
Yes, it should.

http://wsabstract.com/howto/htaccess7.shtml
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 04-26-2004, 11:39 AM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
thanks for the help, it worked after i did this: Redirect /index.htm www.server.com/bingo
ClubMed is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:49 PM.