Standard Mischief

Archive for the ‘standard mischief blog news’ Category

WordPress 2.5 test post

This is just the typical test post. I wasn’t going to upgrade yet, but there is apparently an exploit for WordPress 2.3.3 (or perhaps some earlier version, my source is a little sketchy with the details).

I though I caught the bug, and searched around for more info. This page talks about “hidden link injection,” while this page has a different exploit regarding a new directory. I seem to have neither of these.

What’s really weird about WordPress now (and before the upgrade), is that it seems that my blog is sending - in response to a request for my RSS feed - zip compressed content whether or not it’s requested or even supported by the reader doing the request. I have no idea why this started happening all of a sudden.

At least, thanks to cURL, I know what the heck is going on.

$ curl http://standardmischief.com/blog/feed/|head

About 50% of the time this will feed me garbage. The head command it there to limit the scope of the garbage.

$ curl --compressed http://standardmischief.com/blog/feed/|head

Nearly the same command, but the –compressed option actually requests compression and decodes it if it arrives that way.

Stumped.

Update, 10 minutes later: As I was composing the service request, the issue seemed to have disappeared. I’ll hold off and keep an eye on the problem. My feed has been off all day (I suppose my reader does not accept gzip), but it’s working fine now.

Update 2: Here’s a terminal screenshot: (179k)

2008-04-13 02:56 by Standard Mischief, Filed under:standard mischief blog news     2 Comments

and we’re back… again

The story from my host is that the power was cut off to the entire third floor of the place that my host collocates at. Some kind of improperly scheduled maintenance. My site went down sometime early on the ninth of March, Eastern time and has been sporadicly available since then, although this is the first time I’ve been able to login.

This is also why such sites as BugMeNot and RetailMeNot have been offline. Same host.

I’ve been meaning to post my impressions of my host, and now this timely outage. I suppose my synopsis would be: NearlyFreeSpeech.NET great prices, great service, no sluggish oversold shared hosting, no cut-n-paste email tech support, a truly outstanding privacy policy and unfortunately, lately, the hosting uptime of a free dot.bomb webhost.

Arguably, the uptime should not matter for someone who posts a few times a month, but it sure is annoying.

2008-03-10 10:32 by Standard Mischief, Filed under:standard mischief blog news     No Comments

Flakey DNS and email

If you have been having connection issues to the blog, well it’s me — not you.

It seems that despite moving domain registrars, DNS is still set by my ex-domain hosting company for some reason. Those A records are pointing to IP addresses owned by my current domain register, but at their old data center. Forwarding those to the current bank of IP addresses is what the intermittent problem is.

The emal address that I leave in the comment form over at your blog is also in those old DNS records, so that email address may die. I’ve not figured out a solution for that yet (or at least I haven’t settled on a new provider yet)

Update: Should be fixed. Two emails and two non-form letter email responses in about 24 hours took care of it. Love my hosting company.

2008-01-27 04:39 by Standard Mischief, Filed under:standard mischief blog news     No Comments

Six months later, I get everything fixed, (I think)

So, about six months ago, I move the blog to a new subdirectory, and everything breaks.

So I start a voyage of self-discovery on how .htaccess files work in order to fix everything. I figure things out but for some reason beyond my knowledge, I don’t actually implement any of those fixes. Search engines that regularly scrape my pages for content can no longer find my blog, and my traffic drops to almost nothing.

Today I finally fixed things.

The first issue was my root website directory, as many spiders try to scrape my homepage. I created a kludgy html redirect page, but many spiders don’t really like to follow links like that. What I really needed was a 301 redirect, but my attempts to make one using .htaccess were filled with recursive fail.

The solution was a simple php file, placed in my root web directory, called index.php

<?php
header ('HTTP/1.1 301 Moved Permanently');
header("Location: /blog/");
?>

The second problem was all the links out there on other blogs pointing to my old posts. I tried to use mod.rewrite again, but that only seemed to work when my posts called for an existing but renamed picture or something. When someone followed an external link to say my most popular post ever, my “Zumbo timeline“, they got a 404. To fix those, I had to add the following lines to my htaccess:


Redirect 301 /2005 http://standardmischief.com/blog/2005
Redirect 301 /2006 http://standardmischief.com/blog/2006
Redirect 301 /2007 http://standardmischief.com/blog/2007

I think that fixes everything.

2008-01-06 10:00 by Standard Mischief, Filed under:standard mischief blog news     No Comments

and we’re back… sort of

Update 15sep07: I’ve at least got basic redirects up and working, so you can ignore the following about manually adjusting your feeds. My understanding is that just about any feed reader will respond properly to a “moved permanently, 301″ request.

My host had some scheduled downtime for Monday. They were planning to physically move some servers to a new datacenter. The reason for the move was a direct result of the extended outage from their upstream provider, which I discuss here. The reboot after that outage back then seems to have solved my trackback/pingback problem.

It seems that the scheduled outage was only suppose to be a few hours, but things went way wrong. I think my outage was more like 48 hours.

Oddly enough, this time around the reboot seems be affecting my .htaccess file. I don’t know if something wrong with my .htaccess file now, or before. I was having a lot of problems getting my mod rewrite voodoo to work properly in the past, maybe mod rewrite on NFS.N have always been wonky, and it’s only now working properly.

Bottom line:

If you subscribe to my feed at http://standardmischief.com/feed/ then you will manually have to change the feed to http://standardmischief.com/blog/feed/ . Also, if you point your browser at standardmischief.com, you will get an error. You can get to my blog if you point your browser at http://standardmischief.com/blog/ . Neither of these things are suppose to work like that, but I’m afraid that’s the way it is until I get things fixed.

2007-09-12 10:54 by Standard Mischief, Filed under:standard mischief blog news     No Comments
current.png

Powered by WordPress , Theme Ported to Wordpress by Liu Xun. Original Design by Cathayan