08-09-2008, 01:33 PM
|
#1 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
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. 
|
|
|
|