Hello,<br><br>I have a cpanel server and wish to serve static content using nginx configured as proxy<br>Now to be compatible with cpanel traffic accounting i need nginx to write to the cpanel byteslog in the following format(apache)<br>
<br>===================<br>CustomLog /usr/local/apache/domlogs/domain.com-bytes_log &quot;%{%s}t %I .\n%{%s}t %O .&quot;<br>====================<br><br>On googling i found a person in WebHosting talk has accomplished this using a patch to the log_module.<br>
<br>Can this be accomplished in version 0.7.24 without patching.If yes how?<br><br>Also i not where will get the patch file for the log_module<br><br>Thanks for all the help<br clear="all"><br>-- <br>Anoop P Alias (PGP Key ID : 0x014F9953)<br>
GNU system administrator<br><a href="http://GnuSys.net">http://GnuSys.net</a><br>