kanenas.net Posted November 27, 2008 Share Posted November 27, 2008 My question is... Is there a tool to log the html response content of apache? I want to log the html content that apache sends to client! Below is a sample... <html> <head> <title>Test</title> </head> <body> This is a <strong>TEST</strong>! <br> All the <i>html markup</i> i want to log... </body> </html> Thanks Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/ Share on other sites More sharing options...
alluoshi Posted November 27, 2008 Share Posted November 27, 2008 Do you mean that you want the contents of the log file to be presented in HTML format? Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700363 Share on other sites More sharing options...
kanenas.net Posted November 27, 2008 Author Share Posted November 27, 2008 NO!!! Imagine that i have a php script that generates some html, i want to log that html !!! Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700378 Share on other sites More sharing options...
Mchl Posted November 27, 2008 Share Posted November 27, 2008 Perhaps you could do this with output buffering? Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700379 Share on other sites More sharing options...
kanenas.net Posted November 27, 2008 Author Share Posted November 27, 2008 Perhaps you could do this with output buffering? Is there a tutorial how i could do that ? Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700389 Share on other sites More sharing options...
Mchl Posted November 27, 2008 Share Posted November 27, 2008 Here's manual on output buffering. Not however, that I only think it MIGHT be possible using it. Never tried something like that. Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700396 Share on other sites More sharing options...
kanenas.net Posted November 28, 2008 Author Share Posted November 28, 2008 Here's manual on output buffering. Not however, that I only think it MIGHT be possible using it. Never tried something like that. I can't figure it out ??? Any other suggestions? Thanks Link to comment https://forums.phpfreaks.com/topic/134506-is-there-a-tool-to-log-the-html-response-content-of-apache/#findComment-700915 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.