# virtual() and output compression

- Thread: https://externals.io/message/2033
- Original archive: https://news-web.php.net/php.internals/2033
- Started by Uwe Schindler on 2003-05-27T11:40:46+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2033 — Uwe Schindler — 2003-05-27T11:40:46+00:00

URL: https://externals.io/message/2033#2033

During the implementation of the apache specific virtual() command for the 
NSAPI SAPI (virtual() includes a URI from the local server by making a 
sub-request, e.g. a shtml, java servlet,...) I found out that there are 
some missing things in documentation and/or error handling:
When output compression is switched on, the inclusion of non-compressed 
data from the webserver is not posssible because this breaks the 
compression. I think that should be documented somewhere and the 
apache/apache2 modules should print out a error if a output filter is 
active. In my extension to NSAPI this is implemented.

Uwe
