Changes of Revision 9
[-] | Changed | apache2-mod_accouting.spec |
1
2 3 Name: apache2-mod_accounting 4 BuildRequires: apache2-devel 5 -BuildRequires: mysql-devel postgresql-devel sed pam-devel openssl-devel zlib-devel readline-devel krb5-devel 6 +BuildRequires: mysql-devel postgresql-devel sed 7 %define modname mod_accounting 8 %define apxs /usr/sbin/apxs2 9 %define apache apache2 10 |
||
[+] | Added | mod_accounting.conf ^ |
@@ -0,0 +1,7 @@ +<IfModule mod_accounting.c> + AccountingQueryFmt "UPDATE ipaccounting SET bytesin = bytesin + %r, bytesout = bytesout + %s WHERE LOWER( host ) = LOWER( '%h' )" + AccountingDatabase accounting + AccountingDatabaseDriver mysql + AccountingDBHost localhost 3306 + AccountingLoginInfo acct acct +</IfModule> |