inetd.info

Everything in one place: databases, projects, photography, links & references

inetd.info RSS Feed
 
 
 
 

Archive for April, 2009

Initial UPS Config Under Debian

In the past a few nasty power outages have caused doom2s array to have a heart attack. I finally got round to getting a UPS (Belkin F6C120*-UNV) and ended up using NUT to talk to it over the belkin software. Good notes by Peter Selinger and a great step by step guide by Avery Fay [...]

Adding a little protection to wp-config.php

Wordpress get’s hacked a lot so it pays to spend a little bit of time looking at http://codex.wordpress.org/Hardening_WordPress. One thing I’ve looked for is how wp-configĀ  needs to be protected.
Only allow yourself & apache access to the file by doing
chown root:www-data wp-config.php
chmod 640 wp-config.php
And make sure .htaccess in the site root is covering some basics
<IfModule [...]