Archive for the "wordpress" Category

…now you don’t

Brilliant. Today I start getting errors from apache telling me that SecFilterInheritance is not a recognised keyword.

As you may recall (http://phil.abercrombie-family.org/index.php/2006/05/16/prl/), SecFilterInheritance is the key to disabling mod_security and allowing me to submit posts that contain the word p*rl.

Ah well. Somebody at rcthost changed something and didn’t tell me. What’s new.

So, I’ll try removing the .htaccess change and see what is the fallout. If this post succeeds, despite this word: perl ; then I will ignore the problem.

 

p*rl

Apparently you can’t use the word p*rl in a WordPress post.

I discovered this the hard way, after writing a long discussion of how to use p*rl to chop up messages extracted from a MS-Exchange IMAP interface. When I submitted, the wordpress script crashed. IN time-honoured software-guy tradition, I tried a couple more times, and the wordpress script crashed each time. Then I had to do the debugging thing, where I narrowed my 400 word post down to one word by binary chop. The word was p*rl. I was quite annoyed. Especially when I found this link: http://wordpress.org/support/topic/64599

What is the point of blogging software that doesn’t allow postings that discuss p*rl? What else would anybody want to write about? I fumed. And I certainly didn’t post anything.

This was a long time ago, and the anger has worn off now. And I found this link:
http://positivefusion.info/archives/2005/02/20/201/ where a web hosting service with a more generous support arrangement documents the work-around to be placed in .htaccess for the wordpress admin directory:

<Files post.php>
SecFilterInheritance Off
</Files>

So now I can say it. perl. Ahhh.

 

Blog by email

For a while I’ve been subscribing to news alerts (via Google Alerts) for AppIQ and Storage Essentials. I always thought I might gateway these to a weblog sometime.

Now I have an IMAP mail folder full of messages, I’d like to import it into WP. My first thought was to move the messages to a mailbox that WP can POP from. This is only partially successful: the WP POPper doesn’t do a good enough job of decoding the multipart message and i end up with something like the following:

Google Alert – appiq

Thursday, March 30th, 2006

This is a multi-part message in MIME format.——=_NextPart_000_0062_01C655C8.12142C90
Content-Type: text/plain;
charset=”utf-8″
Content-Transfer-Encoding: 7bitGoogle Alert for: appiq

Storage Clips: Symantec to announce remote office backup

021,00.html>
Search Storage – USA
…. Earlier, Geronaitis directed marketing and partnerships for AppIQ and
for ADIC after its acquisition of Pathlight Technologies. …

________________________________

This once a day Google Alert is brought to you by Google.

Remove

this alert.
Create another alert.
Manage your alerts.

——=_NextPart_000_0062_01C655C8.12142C90
Content-Type: application/ms-tnef;
name=”winmail.dat”
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=”winmail.dat”

eJ8+IikBAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQaAAwAOAAAA1gcDAB8AAAAEABMABQAbAQEDkAYAqA8AABoAAAAe
AHAAAQAAABUAAABHb29nbGUgQWxlcnQgLSBhcHBpcQAAAAAeAH0AAQAAAHMGAABYLU1pbWVPTEU6
IFByb2R1Y2VkIEJ5IE1pY3Jvc29mdCBFeGNoYW5nZSBWNi41DQpSZWNlaXZlZDogIGZyb20gdGF5
ZXhnMTEuYW1lcmljYXMuY3BxY29ycC5uZXQgKFsxNi4xMDMuMTMwLjE4Nl0pIGJ5IHRheWV4YzE3
LmFtZXJpY2FzLmNwcWNvcnAubmV0IHdpdGggTWljcm9zb2Z0IFNNVFBTVkMoNi4wLjM3OTAuMTgz
MCk7IEZyaSwgMzEgTWFyIDIwMDYgMDA6MDQ6MTkgLTA1MDANCk1JTUUtVmVyc2lvbjogMS4wDQpD
b250ZW50LVR5cGU6IHRleHQvcGxhaW47DQoJY2hhcnNldD0idXRmLTgiDQpDb250ZW50LVRyYW5z
ZmVyLUVuY29kaW5nOiBiYXNlNjQNClJlY2VpdmVkOiAgZnJvbSB0YXlyZWxiYXMwMy50YXkuaHAu

and so on

——=_NextPart_000_0062_01C655C8.12142C90–