Kategorie: sysadmin
-
Installing apache, fastcgi & php-fpm on dragonflybsd
We’re currently in the process of transitioning our web servers from NetBSD to DragonflyBSD; along with that, we’re also switching our PHP platform to php-fpm. There are a few lessons we learned in the process. First: At least on DragonflyBSD 2.10, apache2 does not at all perform well as apache-mpm-worker. Switching to apache-mpm-prefork changed our…
-
Mailman problems
For one of lists, one of the subscribers had the strangest problem. He kept getting bounces that the list alias does not even exist, whilst at the same time other subscribers could well write to that list. It turns out that his mail server was rewriting the To:-address, resolving the CNAME of the hostname that…
-
PowerDNS under MacOS X 10.6.4
Thanks to an entry on LSD::RELOAD I was finally able to get powerdns to run on my MacOS X 10.6.4 system. Out of personal preference I wanted it to run with postgresql instead of mysql, so there was a little figuring out involved in how to get things going without the mysql driver – apparently,…
-
Ich mag shell …
for i in *.html; do mv $i {$i%.html}.php; done Und schon sind alle HTML-Dateien PHP-Dateien. Ich mag Shell.
-
fcgid und http authentication
Dank everflux gelöst. Wenn man PHP mit fhcgid fährt und dann dabei auch noch http authentication machen möchte, muss man in der Konfigurations-Datei von apache einen Eintrag ergänzen. Bei uns steht jetzt in der Section <ifmodule mod_fcgid.c>noch Passheader Authorization.