On Thu, Jan 16, 2025 at 11:28 AM Marc <m...@f1-outsourcing.eu> wrote:
>
> I have currently some abuse page that notifies the ip is blocked. I am 
> generating this page with php because I want to display the ip adres on this 
> page. Is there a more efficient way to generate a page with one line of text 
> and the blocked ip address?
> Maybe directly in apache without using php-fpm?

Check the documentation of mod_filter, mod_substitute and mod_sed. I
would assume that it should be possible to replace a placeholder in
your ErrorDocument as needed, but I haven't tried that myself.

Rainer

-- 
This email is confidential. If you are not the intended recipient, please 
delete it and notify us immediately by telephoning or e-mailing the sender. 
You should not copy it or use it for any purpose nor disclose its contents 
to any other person.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to