Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.xxxcon, which comes first ob_start or session, wwwxxx/58/2010, xxxxdup, xxxxdup, mailx informatii, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, mysql feiertage, bash netcat eof, 192.168.1.41:8000

Links

XODOX
Impressum

#1: MOD_Rewrite

Posted on 2011-09-20 23:01:35 by 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://www.knowledgesutra.com/forums/topic/10219-php-mod-rew rite-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

Report this message

#2: Re: MOD_Rewrite

Posted on 2011-09-20 23:08:00 by Daniel Brown

On Tue, Sep 20, 2011 at 17:01, Gavin Chalkley <gavin.chalkley@gmail.com> 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
>
> How ever i have never done any MOD_REWRITE so look at the following:
>
> http://www.knowledgesutra.com/forums/topic/10219-php-mod-rew rite-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??


This is not a PHP question, but rather a mod_rewrite question.
Further, it has very little to do with databases, so it's not
pertinent to this list in that respect either. Finally, we ARE NOT
associated with EasyPHP, we DO NOT support it, and we DO NOT endorse
it by any means whatsoever.

To get the answers you need to your questions, please contact a
mod_rewrite group or the Apache httpd mailing list.

--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Report this message