- To: php-db@xxxxxxxxxxxxx
- Subject: MOD_Rewrite
- From: Gavin Chalkley <gavin.chalkley@xxxxxxxxx>
- Date: Tue, 20 Sep 2011 22:01:35 +0100
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
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://www.knowledgesutra.com/forums/topic/10219-php-mod-rewrite-tutorial/
But i cannot get this to function.
What I am trying to do is www.website.com/KEYNUMBER
Could some one kindly help me out??
Regards Gavin
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP Home]
[PHP Users]
[Postgresql Discussion]
[Kernel Newbies]
[Plagiarism Notes]
[Postgresql]
[Yosemite News]