Where is the apache main loop???
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Where is the apache main loop???




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Where is the apache main loop???  
JoeAley2003


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-05-04 06:35 AM

Hi all...

I need to listen to http and https requests. So, i thougth using the
apache source code, but i can't identify where is the main (listen)
routine...
Where is the function who waits for a connection???

Any hint?

Thank you all!





[ Post a follow-up to this message ]



    Re: Where is the apache main loop???  
Owen Jacobson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 01:35 AM

On Thu, 04 Mar 2004 22:26:44 -0800, JoeAley2003 wrote:

> Hi all...
>
> I need to listen to http and https requests. So, i thougth using the
> apache source code, but i can't identify where is the main (listen)
> routine...
> Where is the function who waits for a connection???
>
> Any hint?

Yeah.  Don't twiddle with apache.  Get a packet-monitoring tool like
tcpdump or ethereal, and monitor it that way.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.






[ Post a follow-up to this message ]



    Re: Where is the apache main loop???  
rrivers


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 04:35 PM

JoeAley2003 wrote:
> Hi all...
>
> I need to listen to http and https requests. So, i thougth using the
> apache source code, but i can't identify where is the main (listen)
> routine...
> Where is the function who waits for a connection???
>
> Any hint?
>
> Thank you all!
if you would like to see http request in real time (as it happens)
then use xrootconsole and have it print the accesslog to the console.
if you need to see the packet information then use ethereal...






[ Post a follow-up to this message ]



ChiralSoftware is offline     Re: Where is the apache main loop???  
ChiralSoftware


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for ChiralSoftware Click here to Send ChiralSoftware a Private Message Visit ChiralSoftware's homepage! Find more posts by ChiralSoftware Add ChiralSoftware to your buddy list
 
03-11-04 06:39 AM

quote:
Originally posted by JoeAley2003 Hi all... I need to listen to http and https requests. So, i thougth using the apache source code, but i can't identify where is the main (listen) routine... Where is the function who waits for a connection??? Any hint? Thank you all!
Take a look at: http://www.math.uwaterloo.ca/~oadra...46G/a2/caa.html That will tell you more than you ever wanted to know. The main loop is in h ttp_main.c. Whatever it is that you are trying to do, using the Apache sour ce code is probably the wrong way to do it, except in the very unique case o f if you are trying to serve web pages. Trust me on this. You are better o ff learning Java and doing it from scratch than trying to twidle around with Apache. ------------ http://chiralsoftware.net/hosting-customer.html




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register