Archive for the ‘Scripting/Programming’ Category

Webserver (apache) security

Wednesday, October 22nd, 2008

Generally my experience with apache has been very good. It’s a decent web server and works very well, is well supported and generally doesn’t suffer too many problems. For an ISP though, there are a few issues: php and other sub-processes/modues runs with the privileges of the apache user. So what is so bad about that?

(more…)

Bash variables

Friday, October 17th, 2008

These things pops up from time to time, manipulating variables and strings using bash. There are a few very handy variable operators that can reliably detect whether strings are set or not, strip of tails or heads, and even do some basic replacements.

(more…)