323 reputation
17
bio website fredden.org
location Christchurch, New Zealand
age 28
visits member for 4 years, 11 months
seen 2 days ago

I'm a Kiwi, who has lived in France & the UK, and is now back in New Zealand. A sysadmin by trade, I enjoy working with computers.


Dec
19
comment connection via ip fails but can be established using hostname
What "connection" are you referring to? A web browser? SSH?
Mar
26
answered Apache mod_rewrite - why friendly URL doesn't works with static files?
Jan
9
answered Permanent Redirect on Apache is not working
Dec
10
comment executing .bash_profile alias via SSH
There may be a line near the top of the .bash_profile script which stops execution for non-interactive shells.
Dec
6
revised puppet only exec when file does NOT exist
Corrects syntax for 'test' command
Dec
5
suggested approved edit on puppet only exec when file does NOT exist
Nov
29
awarded  Autobiographer
Nov
17
revised Multiple rule Apache rewrite
Corrects flags, adds "optional trailing slash."
Nov
17
comment Multiple rule Apache rewrite
Given those examples, I'd add /? before the $ on each of the rules (except the first). That means "optionally with a trailing slash." Also, it looks like I missed a [C] when I copied your code - change that for an [L]. So you'd end up with something like: RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ /mr/inde... I'll edit my post.
Nov
17
revised Multiple rule Apache rewrite
added full example code, as suggestion wasn't clear
Nov
17
awarded  Commentator
Nov
17
comment Multiple rule Apache rewrite
I was trying to say that you probably don't want the rules chained at all, but that each rule should stand alone. As it stands, only the first rule will ever be processed properly, the others will be skipped if the first doesn't match.
Nov
13
answered Multiple rule Apache rewrite
Nov
12
comment php server settings for restrict post queries
Sometimes suhosin logs to syslog.
Oct
26
answered php server settings for restrict post queries
Oct
26
answered 301 redirect from non www to www issue
Aug
26
comment Avoiding Nagios commands.cfg
No, Nagios does not run as root. Nagios runs with significantly less privilege than any other local user. Not sure why this deserves a down-vote; it directly answers the question asked, and another user also posted this same answer and got an up-vote.
Aug
26
answered Avoiding Nagios commands.cfg
Mar
22
awarded  Yearling
Jan
1
revised Passing Arguments to a Service started with Init.d
/etc/init.d/mysql stop, not /etc/init.d/mysql end.