title: How to get information about the client that requests page from Server?
body: <p>I need to get information about the client that requests a page from the server. I need to get information about client IP and which page is request? I would prefer a console application i.e. Shell or Bash script in linux[Ubuntu]. If the page is requested there would be instant print message to the console or terminal. In that message it should be included the IP address and page requested. I also wanted to save the IP address and the requested page into the database through MySQL. I'd appreciate your answer and solution. </p>
  
  <p>Thanks</p>