mod_rewrite newbie needs a little help

Reply

Join Date: Dec 2004
Posts: 54
Reputation: BigBlueBall is an unknown quantity at this point 
Solved Threads: 1
BigBlueBall's Avatar
BigBlueBall BigBlueBall is offline Offline
Junior Poster in Training

mod_rewrite newbie needs a little help

 
0
  #1
Jun 17th, 2005
I'm trying to do a very basic per-directory mod_rewrite.

I have an old URL that points to a file that no longer exists:

http://www.bigblueball.com/im/msn/tab/default.asp

and I want to redirect that to it's replacement:

http://www.bigblueball.com/im/msn/tab/index.php

My /im/msn/tab/.htaccess file looks like this:
RewriteEngine on
RewriteBase /im/msn/tab
RewriteRule ^default\.asp$ index.php [L]
But doesn't work. I've tried fiddling with the ReWriteBase to no avail. What am I missing?

I should mention that I also have a .htaccess at my web root that works beautifully. Would this conflict with a directory level .htaccess file?
BigBlueBall - Everything about instant messaging
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates

Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 54
Reputation: BigBlueBall is an unknown quantity at this point 
Solved Threads: 1
BigBlueBall's Avatar
BigBlueBall BigBlueBall is offline Offline
Junior Poster in Training

Re: mod_rewrite newbie needs a little help

 
0
  #2
Jun 19th, 2005
Anybody here know mod_rewrite?
BigBlueBall - Everything about instant messaging
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates

Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC