Re: [Modcplusplus-user] Help for a beginner
Brought to you by:
gr84b8,
johnksterling
From: Kari K. <ka...@ne...> - 2002-10-29 16:10:48
|
Hi John, thanks for the input, it came at a good time. I had not looked that deep into the test directory, but once I did, I found the configuration files and got them to work for me right away. I have then been playing with the example filters for a day or so now and do indeed have a further question. I took the example/input_filter source and added a requst_input_filter method so I could use the same filter as a connection or a request filter. On trying, the connection filter works, in that I get both the protocol packets and the content packets, but I never seem to get EOS packets, so I can not find the end of the transmitted page. The request filter gives me EOS packets, but it does not give me any content (or protocol) packets. All I get are the EOS packets. Would you happen to know offhand what I might be doing wrong, or is this topic more appropriate for the module developers list? Thanks, Kari P.S. Here is my httpd.conf file relevant part: LoadFile /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so LoadModule cplusplus_module /usr/local/apache/lib/libmod_cplusplus.so # # LoadCPPHandler is handled by the cplusplus module and will load a # new filter to Apache. LoadCPPHandler test_input_filter /usr/local/apache/lib/test_input_filter.so # # AddCPPInputFilter is handled by the cplusplus module and will add a # new filter to Apache filters list. #AddCPPConnectionInputFilter test_input_filter AddCPPInputFilter test_input_filter Same "John K. Sterling" wrote: > Hi Kari - > > I suggest you look at mod_cplusplus/test/t/conf/extra.con which has the > configuration directives for the example modules. Let me know if you > have more questions. > > sterling > > On Friday, October 18, 2002, at 03:30 PM, Kari Karhi wrote: > > > Hi, > > I'm just starting to try out the mod_cplusplus module. I've compiled > > the module > > (with some small changes, I'm using gcc 3.2 and Apache 2.0.43), and > > trying the > > test_output_filter seems to work, but I never get the log message from > > the > > request_output_filter() function. I suspect that my conf file is not > > right. Is there > > any documentation on this (one email said there may be sample > > configuration > > files but I have not been able to find them)? > > > > In the NEWS file there was something about presenting a paper at > > apachecon. > > Was that 2001 or 2002, and are there slides available? > > Thanks, > > Kari Karhi > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Modcplusplus-user mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/modcplusplus-user > > |