[users@httpd] How to build layers/filters with Apache and PHP

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

 



Hello,

I have and unmodifiable PHP application that runs on an apache installation.
I would like to /filter/ the output of this application through a
validation layer to be writter in PHP.
Is there a simple way to obtain this playing with the Apache configuration?
I would like to create a chain like this:
| request -> get.php -> validator.php -> output
without modifying get.php.

>From the outside my application is a simple PHP script:
http://site/get.php?id=4. This application returns an HTML page.
I would like to validate this page before sending it to the user. If the
page is not valid I'd like to change the HTML code to show a warning.

With J2EE this was simple because you could stack one filter upon another
without too much hassle. Is there something similar for Apache/PHP?

-- 
Gioele <dev@xxxxxxxxxxxxxxxxxxx>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux