Re: [EMAIL PROTECTED] use mod_rewrite to answer a.php?xyz and serve /xyz ?

2008-07-15 Thread Randy Grimes
u want to erase an existing query string, end the substitution string with just a question mark. To combine a new query string with an old one, use the [QSA] flag. Best, Randy On Tue, Jul 15, 2008 at 3:36 AM, Krist van Besien <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2008 at 23:0

[EMAIL PROTECTED] Re: use mod_rewrite to answer a.php?xyz and serve /xyz ?

2008-07-14 Thread Randy Grimes
I tried, and apache complained "a.php was not found on this server." Seems that apache took this as a script instead? On Mon, Jul 14, 2008 at 5:07 PM, Randy Grimes <[EMAIL PROTECTED]> wrote: > Hi, I know mod_rewrite can answer web request to /xyz and internally > servin

[EMAIL PROTECTED] use mod_rewrite to answer a.php?xyz and serve /xyz ?

2008-07-14 Thread Randy Grimes
Hi, I know mod_rewrite can answer web request to /xyz and internally serving a.php?xyz . However, is it possible to answer a.php?xyz and internally serving /xyz , without writing a script a.php? For the curious minds, we are moving from dynamic scripts to pre-generated static pages, and want to m