httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Anderson" <8tfg9l...@sneakemail.com>
Subject [users@httpd] compiling mod_dumpio in vc++ 2005 express
Date Thu, 03 May 2007 06:41:11 GMT
If you want to compile mod_dumpio on Windows with Visual C++ 2005 Express, there are various
docs out there to get you almost all the way:

http://httpd.apache.org/docs/2.0/platform/win_compiling.html
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
http://www.apachelounge.com/forum/viewtopic.php?t=778
http://www.apachelounge.com/forum/viewtopic.php?p=2498

However, there was a final hurdle when I did it.  I had to right-click mod_dumpio project->Properties->Configuration
Properties->Linker->Command Line->Additional options, enter "..\..\release\libhttpd.lib"
"..\..\srclib\apr-util\release\libaprutil.lib" "..\..\srclib\apr\release\libapr.lib", click
OK, right-click mod_dumpio project->Rebuild.

After all that work, I was disappointed with the output of mod_dumpio.  Below is a sample,
so you don't have to compile it without knowing if it will help you.  

If anyone wants a binary for 2.0.55, I would be happy to send mine.  It might work with other
2.0.x versions.

jason


[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 16
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): GET
/ HTTP/1.1\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 23
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Host:
localhost:58080\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 104
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 109
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 33
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Language:
en-us,en;q=0.5\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 31
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Encoding:
gzip,deflate\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 48
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 17
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Keep-Alive:
300\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 24
bytes
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Connection:
keep-alive\r\n
[Wed May 02 23:34:40 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 2
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): \r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(129): mod_dumpio: dumpio_out
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (data-HEAP):
407 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_out (data-HEAP):
HTTP/1.1 200 OK\r\nDate: Thu, 03 May 2007 05:34:40 GMT\r\nServer: Apache\r\nContent-Location:
index.html.en\r\nVary: negotiate,accept-language,accept-charset\r\nTCN: choice\r\nLast-Modified:
Sun, 21 Nov 2004 13:35:22 GMT\r\nETag: "21df7-5d6-cfc61a80;21dd7-9dc-cfc61a80"\r\nAccept-Ranges:
bytes\r\nContent-Length: 1494\r\nKeep-Alive: timeout=15, max=100\r\nConnection: Keep-Alive\r\nContent-Type:
text/html\r\nContent-Language: en\r\n\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(129): mod_dumpio: dumpio_out
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (data-FILE):
1494 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_out (data-MMAP):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\r\n    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n<html
xmlns="http://www.w3.org/1999/xhtml">\r\n<head>\r\n<title>Test Page for Apache
Installation</title>\r\n</head>\r\n<!-- Background white, links blue (unvisited),
navy (visited), red\r\n(active) -->\r\n<body bgcolor="#FFFFFF" text="#000000" link="#0000FF"\r\nvlink="#000080"
alink="#FF0000">\r\n<p>If you can see this, it means that the installation of the
<a\r\nhref="http://www.apache.org/foundation/preFAQ.html">Apache web\r\nserver</a>
software on this system was successful. You may now add\r\ncontent to this directory and replace
this page.</p>\r\n\r\n<hr width="50%" size="8" />\r\n<h2 align="center">Seeing
this instead of the website you\r\nexpected?</h2>\r\n\r\n<p>This page is here
because the site administrator has changed the\r\nconfiguration of thi
 s web server. Please <strong>contact the person\r\nresponsible for maintaining this
server with questions.</strong>\r\nThe Apache Software Foundation, which wrote the web
server software\r\nthis site administrator is using, has nothing to do with\r\nmaintaining
this site and cannot help resolve configuration\r\nissues.</p>\r\n\r\n<hr width="50%"
size="8" />\r\n<p>The Apache <a href="manual/">documentation</a> has
been included\r\nwith this distribution.</p>\r\n\r\n<p>You are free to use the
image below on an Apache-powered web\r\nserver. Thanks for using Apache!</p>\r\n\r\n<div
align="center"><img src="apache_pb.gif" alt="" /></div>\r\n</body>\r\n</html>\r\n\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (metadata-EOS):
0 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [eatcrlf-nonblocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(117): mod_dumpio: dumpio_in - 730035
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 29
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): GET
/apache_pb.gif HTTP/1.1\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 23
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Host:
localhost:58080\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 104
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 29
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept:
image/png,*/*;q=0.5\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 33
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Language:
en-us,en;q=0.5\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 31
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Encoding:
gzip,deflate\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 48
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Accept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 17
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Keep-Alive:
300\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 24
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Connection:
keep-alive\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 34
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): Referer:
http://localhost:58080/\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_in (data-HEAP): 2
bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_in (data-HEAP): \r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(129): mod_dumpio: dumpio_out
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (data-HEAP):
271 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_out (data-HEAP):
HTTP/1.1 200 OK\r\nDate: Thu, 03 May 2007 05:34:41 GMT\r\nServer: Apache\r\nLast-Modified:
Sun, 21 Nov 2004 13:35:22 GMT\r\nETag: "21e03-916-cfc61a80"\r\nAccept-Ranges: bytes\r\nContent-Length:
2326\r\nKeep-Alive: timeout=15, max=99\r\nConnection: Keep-Alive\r\nContent-Type: image/gif\r\n\r\n
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(129): mod_dumpio: dumpio_out
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (data-FILE):
2326 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(67): mod_dumpio:  dumpio_out (data-MMAP):
GIF89a\x03\x01 
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(51): mod_dumpio:  dumpio_out (metadata-EOS):
0 bytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [eatcrlf-nonblocking]
0 readbytes
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(117): mod_dumpio: dumpio_in - 730035
[Wed May 02 23:34:41 2007] [debug] mod_dumpio.c(103): mod_dumpio: dumpio_in [getline-blocking]
0 readbytes

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message