Re: [PHP-DB] MOD_Rewrite

2011-09-20 Thread Daniel Brown
On Tue, Sep 20, 2011 at 17:01, Gavin Chalkley wrote: > Hey all, > > I am trying to use MOD_Rewrite with EasyPHP. > > I have this in my htaccess: > > RewriteEngine On > RewriteBase / > RewriteRule ^([0-9]+)/?$ main_index.php?key=$1 > > > My main page is MAIN_INDEX.PHP my db identifier is KEY > > Ho

[PHP-DB] MOD_Rewrite

2011-09-20 Thread Gavin Chalkley
Hey all, I am trying to use MOD_Rewrite with EasyPHP. I have this in my htaccess: RewriteEngine On RewriteBase / RewriteRule ^([0-9]+)/?$ main_index.php?key=$1 My main page is MAIN_INDEX.PHP my db identifier is KEY How ever i have never done any MOD_REWRITE so look at the following: http://