2,223 reputation
216
bio website blog.pkhamre.com
location Oslo, Norway
age 28
visits member for 2 years, 7 months
seen May 16 at 11:47
stats profile views 61

Devops oriented linux sysadmin and open source enthusiast. Works for Mintra with Trainingportal - Enriching people on knowledge.


Jul
19
answered How do I parse a log file for one hour with a simple shell script?
Jul
4
revised graphite wiki excerpt
added 347 characters in body
Jul
4
suggested suggested edit on graphite tag wiki excerpt
Jul
4
wiki created graphite excerpt
Jun
28
comment Nginx rewrite rules, some work, some don't
I bet that if you check, /knowledgebase/1/General-Terms-of-Service.html gets rewritten to /./knowledgebase.php?action=displaycat&catid=1
Jun
28
comment Nginx rewrite rules, some work, some don't
You are wrong. ([^/])* will match "Foobar.html" which [a-z0-9_-]+.html won't match.
Jun
28
answered Nginx rewrite rules, some work, some don't
Jun
28
comment Nginx rewrite rules, some work, some don't
This is the rewrite working for your knowledgebase urls: rewrite ^/knowledgebase/([0-9]+)/([^/]*)$ /./knowledgebase.php?action=displaycat&catid=$1 last; So its not this one that rewrites: rewrite ^/knowledgebase/([0-9]+)/[a-z0-9_-]+.html$ /./knowledgebase.php?action=displayarticle&id=$1 last;
Jun
28
comment Nginx rewrite rules, some work, some don't
Is there any other rewrites between these two? Are they in the same virtualhost or location-block? Can you post your entire configuration?
Jun
8
answered How to copy directory from one Linux server to another with a minimum in-between period?
Jun
6
answered Looking for a reference to munin single-letter prefixes
Jun
6
comment How to override puppet class arguments in child node?
Why don't you just make "disable => false" the default value, and the set "disable => true" for the single nodes?
Jun
1
awarded  Citizen Patrol
May
30
revised Mysql-client without server
deleted 14 characters in body
May
30
comment Mysql-client without server
Good call, I have many mysql-servers I connect from so I normally use the --defaults-extra-file options.
May
30
answered How to you Monitor your Server in real time?
May
30
answered Mysql-client without server
May
25
comment Change folder permission for apache on VPS
Are you sure the directories you have fixed permissions for is the same directories targeted by the application?
May
25
comment How do I configure CentOS 6.2 to run headless?
My mistake, did not think of that.
May
23
awarded  Tag Editor