2,545 reputation
419
bio website blog.pkhamre.com
location Oslo, Norway
age 29
visits member for 4 years
seen Oct 17 at 8:11

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


Jul
25
comment ProxyPassReverse
Is the JBoss-server setup with the /jboss context?
Jul
25
answered Apache rights in my home folders
Jul
20
answered pass a password to sudo su
Jul
20
comment pass a password to sudo su
OP does not have problems with accessing the server remotely, but needs to raise privileges after logging in.
Jul
19
answered What's the optimal setting for haproxy maxconn for a zope instance with 2 threads when health checks are enabled?
Jul
19
comment How do I parse a log file for one hour with a simple shell script?
Since you need to know what's already read, you need to keep data about that in a state-file. I don't think it will be much overhead to use the logtail2-package, as implementing a shell script for this might give you more overhead.
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