View Single Post
Old 08-09-2008, 01:33 PM   #1 (permalink)
ETbyrne
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Terminal Mod_Rewrite Help

Here's what I'm trying to accomplish:
  • All visits to ./whatever/anything/maybe go to index.php?p=whatever,anything,maybe
  • Does not affect URLs going to the ./bin dir
  • Does not affect URLs with file extensions, only affects urls like http://mysite.com/about not http://mysite.com/feed.xml

Here is what I got so far, but it doesn't really work and as you can see it only takes into account the second item on my list:
Code:
RewriteEngine on
RewriteRule ![^(bin)]$ index.php?p=$1 [L]
Thank you in advance for any help.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote