Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2011, 08:47
prasadspy prasadspy is offline
Junior Member
 
Join Date: Feb 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default retrieving Http request using socket programming

guys, tell me how to retrieve the whole http request that comes to a server using socket programming .Also i want to write the retrieved request into a file


plz help
Reply With Quote
Sponsored Links
  #2  
Old 27th February 2011, 21:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Do you want to write an HTTP client or a server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th March 2011, 09:57
prasadspy prasadspy is offline
Junior Member
 
Join Date: Feb 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What i want to do is... that when my code will runs on a server it should retrieve the http request made to the server and then write it to a file (as log file for further record)
Reply With Quote
  #4  
Old 7th March 2011, 14:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

This link might help: http://brk.me/post/log-http-requests
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 16:23
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 14:29
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 22:12
HTTP POST request over GPRS doesn't work. hiharsh Technical 2 23rd July 2008 17:52
log files cruz Technical 3 15th May 2007 15:35


All times are GMT +2. The time now is 13:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.