[ale] nginx rewrite
James Taylor
James.Taylor at eastcobbgroup.com
Mon Dec 11 10:28:35 EST 2023
Thanks for responding, Jerry.
I've decided to just go with a temporary hack to tide me over until the
app can be rewritten to avoid the need for this special case..
-jt
>>> Jerry Yu via Ale <ale at ale.org> 12/10/2023, 09:36 PM >>>
Hi, James,
I couldn't tell the difference between the new and old somehow.
If one trusts what docs like this one
https://us-west-2.protection.sophos.com?d=nginx.org&u=aHR0cHM6Ly9uZ2lueC5vcmcvZW4vZG9jcy9odHRwL25neF9odHRwX3Jld3JpdGVfbW9kdWxlLmh0bWw=&i=NjNjODRjNjNlNGJiYjI0YTFlODE3NGI4&t=dmFGaXg3OW5kZDdGelgybGJXMXpEWWtjTVhrMnZvNks0cFh3ekVBdUxKQT0=&h=5f3723eef918401a9d46412803553c2b&s=AVNPUEhUT0NFTkNSWVBUSVYdBQ9j-wR-KkxEPPIPFbQnjFT3tdStWDhWBd8Fyu51Wg,
it'd seem that the old query parameters would be appended by default for
a
rewrite, unless a '?' is added to the end of the replacement URL path to
reject such appending.
On Wed, Dec 6, 2023 at 6:43 PM James Taylor via Ale <ale at ale.org> wrote:
> I need to redirect a specific php query to new location.
> It shouldn't affect any query except the one specified.
>
> cal_full_day.php?date=2024-01-23&div=5 should be redirected to
>
> cal_full_day.php?date=2024-01-23&div=5
>
> Both files are in the same server path.
>
> I tried a straight rewrite in the server block, but I suspect the
query
> and div may cause the process not to work like I need it to.
> Any recommendations?
> Thanks,
> -jt
>
> James Taylor
> 678-697-9420
> james.taylor at eastcobbgroup.com
> _______________________________________________
> Ale mailing list
> Ale at ale.org
>
https://us-west-2.protection.sophos.com?d=ale.org&u=aHR0cHM6Ly9tYWlsLmFsZS5vcmcvbWFpbG1hbi9saXN0aW5mby9hbGU=&i=NjNjODRjNjNlNGJiYjI0YTFlODE3NGI4&t=WURFRm5tTitkSHI4U1ZwemZnemUwM3lobndBWHAxa3NFdVVZMzdKL1NEZz0=&h=5f3723eef918401a9d46412803553c2b&s=AVNPUEhUT0NFTkNSWVBUSVYdBQ9j-wR-KkxEPPIPFbQnjFT3tdStWDhWBd8Fyu51Wg
> See JOBS, ANNOUNCE and SCHOOLS lists at
>
https://us-west-2.protection.sophos.com?d=ale.org&u=aHR0cDovL21haWwuYWxlLm9yZy9tYWlsbWFuL2xpc3RpbmZv&i=NjNjODRjNjNlNGJiYjI0YTFlODE3NGI4&t=WXN1dVQwSXRuYklNSUUyeW5ZdnowL0g5azcyVkRhTWxwZWhCT0hpdmFDTT0=&h=5f3723eef918401a9d46412803553c2b&s=AVNPUEhUT0NFTkNSWVBUSVYdBQ9j-wR-KkxEPPIPFbQnjFT3tdStWDhWBd8Fyu51Wg
>
--
best regards.
* 404-913-9822 (c)
More information about the Ale
mailing list