Re: Using mod_rewrite with PHP
| From: | rm | Date: | Fri, 20 Jul 2001 04:25:04 +0000 |
| Subject: | Re: Using mod_rewrite with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58828@lists.php.net to get a copy of this message | ||
try this url, maybe it will help...
http://www.zend.com/tips/tips.php?id=68&single=1
--- Gawain <lists0501@guitar.net> wrote:
> I've been wrestling with mod_rewrite and trying to
> understand how to
> use it for my particular purpose. I've got two php
> URLs I'd like to
> rewrite to make them search-engine friendly.
> Currently they look like:
>
> Example 1:
> http://mysite.com/foobar.html?c=23
>
> Example 2:
> http://mysite.com/foobar.html?c=23&p=45
>
> What I'd like to end up with is something like:
>
> Example 1:
> http://mysite.com/foobar/23
>
> Example 2:
> http://mysite.com/foobar/23/45
>
> I'm kind of new to mod_rewrite and regexp's, so can
> anybody give me a clue?
>
> Thanks!
>
> Gawain
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/