Re: Where does ap_rprintf actually print out?

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

 



On 10/13/2017 12:10 PM, eeadev dev wrote:
> thanks, in the console browser?

your web browser, curl or whatever you use to communicate with httpd.
It prints in the _response body of the request_.

If you do ap_rprintf(r, "Hello, wordl!") then you will see "Hello,
world!" in your browser (chrome, firefox etc) when you visit a page run
by the module.

> 
> 2017-10-13 3:03 GMT-07:00 Daniel Gruno <humbedooh@xxxxxxxxxx
> <mailto:humbedooh@xxxxxxxxxx>>:
> 
>     On 10/13/2017 11:53 AM, eeadev dev wrote:
>     > Writing an apache C module I tried this function:
>     >
>     >
>     https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__PROTO.html#ga5e91eb6ca777c9a427b2e82bf1eeb81d
>     <https://ci.apache.org/projects/httpd/trunk/doxygen/group__APACHE__CORE__PROTO.html#ga5e91eb6ca777c9a427b2e82bf1eeb81d>
>     >
>     > but I dont know where it does print out. Does it in any specific file?
>     >
>     > I called it this way:
>     >
>     >  ap_rprintf(r, "print out!");
>     > and checked in the error.log nor in the access.log
> 
>     it prints a formatted string to the client (browser).
> 
>     See http://httpd.apache.org/docs/2.4/developer/modguide.html
>     <http://httpd.apache.org/docs/2.4/developer/modguide.html> for a good
>     primer on getting started.
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>     <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
>     For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>     <mailto:users-help@xxxxxxxxxxxxxxxx>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-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