RE: mod_rewrite and getting url variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Weier O'Phinney <mailto:matthew@xxxxxxxxxx>
    on Tuesday, April 12, 2005 9:42 AM said:

> When using mod_rewrite, if the rewrite rule does not include a
> pass-through, then the query string is not passed on to the script in
> question. So, if you request the page directly with:
> 
>     http://www.mysite.com/page.php?id=1
> 
> it will process correctly, but if you have a rewrite rule that doesn't
> have the pass-through flag, then when the URL is _rewritten_ to the
> above, the page is requested _without_ the query string -- even
> though the rule rewrites the URL with a query string.

Hmm.. I guess I'll have to try it out to understand what's going on.
I've never run across the problem myself.


Thanks,
Chris.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux