Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 11th, 2006, 12:49 AM
Rockafella Rockafella is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 Rockafella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 35 sec
Reputation Power: 0
Need help redirecting with a .htaccess file.

I am trying to direct htpp://www.rockyserver.info/muskieotter/phpBB2 to http://www.rockyserver.info/muskieotter. I am using the fallowing code.
Code:
Redirect /muskieotter http://www.rockyserver.info/muskieotter/phpBB2

When I put the file in the muskieotter directory it gives me a blank page. I also tried putting it in the muskieotter/phpBB2 folder and it does not work either. I made sure I uploaded a ASCII or whatever it's called. Can someone tell me how to fix this please? Thanks for you time.
Rocky

Reply With Quote
  #2  
Old July 11th, 2006, 07:42 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
So, when I type http://www.rockyserver.info/muskieotter/phpBB2 you want to send me to /muskieotter on your server?

I assume phpBB2 is also on your server? And I assume www.rockyserver.info is your server?

Try puting the htaccess under /muskiotter/phpBB2 with the line:
Redirect 301 /muskieotter/phpBB2 /muskieotter

The syntax is like this:
Redirect HTTP_STATUS SOURCE DESTINATION
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #3  
Old July 11th, 2006, 09:12 AM
SnapCracker's Avatar
SnapCracker SnapCracker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: Kent, United Kingdom
Posts: 165 SnapCracker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 22 m 31 sec
Reputation Power: 4
Hi Rockafella

You might want to share my frustrating experiencies with .htaccess. There is a strange resolution to mine, but it finally works. Oh, and I also use phpBB2 on my website with success, that also took a little fiddling about to get right. Although, it won't be as good as dev articles!
http://forums.devarticles.com/web-development-40/directing-new-user-to-specific-page-of-website-56054.html

Cheers

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Need help redirecting with a .htaccess file.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway