Re: [users@httpd] cannot get ap_rvputs() or ap_rprintf() to generate server output in mod_include.

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

 



On Wednesday 02 August 2006 22:59, Pyeatt, John wrote:

> In the 1.3 version I could call ap_rvputs() or ap_rprintf() and the output
> would be sent in the response to the browser just fine.
>
> But in 2.2 I am calling something as simple as:
>
> len = ap_rprintf(r, "hello world");

That doesn't make sense in a filter.  You use the ap_fprintf(...)
family instead.  But you'll have more than that to deal with in mod_include:
you'd be better off reimplementing your changes than the whole module.

In Apache 1 there were no filters (hence why you couldn't do useful things
like run dynamic or proxied contents through SSI).

Oh, and do order my book:-)

-- 
Nick Kew

---------------------------------------------------------------------
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