How to log the actual output in apache?
        Posted  
        
            by 
                Oscar Rodriguez
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Oscar Rodriguez
        
        
        
        Published on 2011-02-03T07:24:36Z
        Indexed on 
            2011/02/03
            7:27 UTC
        
        
        Read the original article
        Hit count: 735
        
I am doing LAMP development for a mobile platform. However, the client browser does not allow me to view the source code of visited pages. I consider the source code to be of huge importance for debugging, so I would like to configure my web server so every time a user makes a request, in addition to sending the client a response, that response (the actual contents of the returned page) is also stored in a file with a filename I can cross-relate with access_log (maybe ip-timestamp-filename? or maybe a unique ID in an additional column in access_log?).
I've searched quite a bit, but haven't even gotten close to finding what I'm looking for. Has anybody been able to do this?
© Server Fault or respective owner