Welcome! Log In Create A New Profile

Advanced

Re: post_action vs error_page seems doesn't work [maxf3r]

Maxim Dounin
March 01, 2011 04:00AM
Hello!

On Mon, Feb 28, 2011 at 10:47:21PM +0100, massimo ferrari wrote:

> hi,
> what I want to do is:
>
> 1) trying to serve content like url =>
> http://my.domain.tld/static/bla-bla-bla?id=12345
> 2) check an html page on cache (on redis)
> 3) if doesn't exists, let's create it (via php script
> /api/entrypoint.php?... )
> 4) always update statistical counters (asyncronous batch)
>
> problem:
> step 4) never processed until I comment "error page 404 = ...".
> In thi case all request to redis are processed (via 127.0.0.1:33333 and
> 127.0.0.1:22222) but a 404 error on browser too :(

You have to specify post_action for your error_page as well.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

post_action vs error_page seems doesn't work [maxf3r]

massimo ferrari February 28, 2011 04:52PM

Re: post_action vs error_page seems doesn't work [maxf3r]

Maxim Dounin March 01, 2011 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 208
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready