Making Digg working with lifetype
Posted by coldtobi | 21 Mar, 2008, 11:28The "stock" lifteype 1.2.6 has currently a bug: You cannot digg.
Now, another user of lifetype found out: The Bad Behaviour plugin simply blocked requests by diff.
Well, technically this is not a big, but more some runaway spam protection, namley the bad behaviour plugin. As this plugin cannot be disabled, (and you don't want it to be disabled anyway), I was looking for a solution to this.
Short story: the one found the issue solved it by white-listing digg. The only thing you have to do is to change the array in plugins/badbehaviour/bad-behaviour/whitelist.inc.ph:
(More)// Includes four examples of whitelisting by IP address and netblock.
$bb2_whitelist_ip_ranges = array(
"64.191.203.34",
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16",
// "127.0.0.1",
);
<—&mdash Showing ERROR? Click here!
Blog and Website | Comments (0) | Trackbacks (0)
Preventing PHP RFI with Apache's ReWriteRules
Posted by coldtobi | 6 Mar, 2008, 17:21 In the last time, there a lots of -- well -- tries to hijack the server via a attack method called "Remote File Inclusion". RFI is a exploit that works if a script writer forgets about sanitize incoming http request strings. For more details, look up RFI in Wikipedia, as they have a nice article about that.But there is an easy way to get block these silly attemps, as they have a common pattern to look for. At least if you have access to your .htaccess, the module mod_rewrite and a Apache around.
(More)
<—&mdash Showing ERROR? Click here!
Blog and Website | Comments (4) | Trackbacks (0)
Installing Debian on the Thecus N2100 -- PART 4 -- Installing Debian (2)
Posted by coldtobi | 5 Mar, 2008, 23:56The third part stopped with creation of the raid array. As this is a very time consuming process, which takes some resources to complete, this is a good point where to make a break and just let it finish. However, this is not really required, as rebuilding the RAID is also perfectly done by the the OS while you can still use it. But if you stop the procedure – by a reboot, as a example – the kernel will restart the process from the beginning. So take this as a hint, that you maybe want to check the progress before you finally reboot / power down.
Just repeating my self, please note, that this VOIDS YOUR WARRANTY. So the usual disclaimer apply: You brick, you repair it. I do not recommend installing linux on the box, if you are not sure you can handle it. Linux requires more hand-on than the GUI -- you won't have a GUI anyway -- but on the other side, it reveals the real power.Table of Contens
- Part 1: Get Prepared
- Part 2: Installing the Installer
- Part 3: Installing Debian I
- Part 4: Installing Debian II (this article)
- Part 5: Fine tuning after the installation
<—&mdash Showing ERROR? Click here!