07-15-2008, 03:00 AM
|
#1 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
|
mod_rewrite correct?
I am having trouble with mod rewrite. I have looked at some tutorials and one of them stated to look for a module after running the phpinfo() thingy. I didnt have it, but after logging into godaddy (my host) they say all their linux hosting does. So I should. My question is should this work correcty or am I screwing something up. Im still really new at this and reg expressions arent my good buddy yet.
The rewrite should take a page called MoreInfo.php?p=22 into MoreInfo/p/22/
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule MoreInfo/(.*)/(.*)/$ MoreInfo.php?$1=$2
|
|
|
|