173 reputation
8
bio website 8bitproductions.com.au
location Melbourne, Australia
age 44
visits member for 5 years, 2 months
seen Apr 9 '13 at 23:17

code chimp


May
23
comment How can I tell how many users are loggin in via apache authentication?
Awesome. Worked perfectly. Thanks.
Apr
12
comment htaccess vrs httpd.conf?
Thanks. Nice answer. So the consensus seems to be that .htacess files are still evil, but not necessarily because of the server load issue. I'll admit I hadn't considered the security side of it. Looks like I need to get familiar with "reload" and "include".
Jun
11
comment configuring JRun
Thanks for that.
Jul
22
comment Apache uptime question
It is a physical machine, but I don't know the specs. IT don't let me near the actual box. From what I can tell (I'm a linux newbie) it's got 133GB HD (86% full), 4* 2.8GHz Xeon CPU, and 1034656kB RAM. Boy i hope I'm reading that wrong. 1GB RAM? My desktop machine has more than that :(
Jul
22
comment Apache uptime question
Thanks for that. I'm not the Sys Admin, but I'm am trying to understand enough about the situation so that I don't sound like a complete idiot when I go to them and talk about some of this stuff.
Jun
3
comment Coldfusion server crashing
We have both a public internet site and our intranet site on the one server. The machine crashes regularly, but in the absence of anyone else looking into why, I've decided to try and work out what the problem is by myself. We are using CF6. But I also suspect some attack ATM which surely isn't helping things. I'll look at the access logs and see if I can glean some information from them.
Jun
2
comment attempted hack?
Yeah, it's an internal address, so I assume we have an infected machine on the inside of the network.
Jun
2
comment attempted hack?
There are dozens of these requests from the same machine
Jun
2
comment attempted hack?
[Tue Jun 02 14:06:24 2009] [info] [client 172.16.98.242] Spelling fix: /P/448/FBA73F59E6F7E78CCFF29DD8BDF46ECCE0B5E872557872C99849F03E5825BD858ECB22A02‌​F3F899EBDA8CC1D67AC24D8CE9E9670742817BD30834A95C3DCD5CCCA40C2CEFAD205FDC647FDBB64‌​7E954C0DF5A5817DFF928C830714F8849D409110BB65E7D1C007F5D139E843C3679DD9C28DFAA794A‌​BF1CC232E7224A2ACCBBC1A3A3F8A4670EABFF98D5A0CB61914ADC1A1799661C8EB872ADB92657217‌​6698F360A219026C8E10180333B9823A2DCB74C9FB8B276B668A57C95C28D9AE3D2FA93A872F706A8‌​39836CBAC09E920420002F95CE948C1E8D0EC6092435FC9A24D: 2 candidates (We are using mod_spelling)
May
27
comment Apache errors?
I wasn't sure about the _vti's. I suspected an attack, but saw some refernces to front page exensions being a possible cause. I've forwarded them to our security guy anyway. The PHP errors concern me. And the fact that my boss has told me to ignore them concerns me more. But thanks for your input. I really needed to know I wasn't on the wrong track worrying about these things.
May
27
comment Apache errors?
Here's some better ones... [Wed May 27 16:12:46 2009] [error] [client n.n.n.n] PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/webquiz/lib/ext/inc_db_connection.php on line 106... [Wed May 27 16:13:51 2009] [error] [client n.n.n.n] PHP Warning: Invalid argument supplied for foreach() in /usr/local/apache/htdocs/webquiz/lib/ext/inc_db_connection.php on line 139...
May
27
comment Apache errors?
sample errors look like... [Wed May 27 15:54:39 2009] [error] [client n.n.n.n] File does not exist: /usr/local/apache/htdocs/_vti_inf.html [Wed May 27 15:54:39 2009] [error] [client n.n.n.n] File does not exist: /usr/local/apache/htdocs/_vti_bin [Wed May 27 15:56:14 2009] [error] [client n.n.n.n] File does not exist: /usr/local/apache/htdocs/rch/favicon.ico [Wed May 27 15:57:25 2009] [error] [client n.n.n.n] File does not exist: /usr/local/apache/htdocs/_vti_bin [Wed May 27 15:57:25 2009] [error] [client n.n.n.n] File does not exist: /usr/local/apache/htdocs/MSOffice
May
27
comment Apache errors?
Many of the errors are "File does not exist", which I assume is a 404. In time, I guess, I can track all of these down and fix them. Most of the rest are (were?) application errors. I managed to fix 3 errors in some server side apps (2 were typos in my own code, and 1 was poor logic in an app from before my time at this job), and the flood of errors reduced to a trickle. (80% of the errors being caused by 20% of the code?) But I still get periodic application errors from a PHP app on the server. These include "db connection dropped", "invalid argument in for each", and "invalid resource".