An end to comment horror
Saturday February 25, 2006; part of: Housekeeping

As an experiment, I have tried to change the whole site to run under cgiwrap, whcih is meant to work better on Pair. We shall see if it does. The theory is that all those 500 errors, and the intermittent refusal to format entries with the Textile processors, were caused by Pair's configuraiton, which throttles blogs with many visitors unless you try some unlikely magic which I have just attempted.

At present I am running at about 750 unique visitors a day, plus the feed readers, and that seems to be enough to cause problems.

Posted by andrewb at February 25, 2006 02:34 PM
Comments

for what it's worth, and if anyone else has these problems, I just moved everything that had been in the MT subdirectory into the cgi-bin, moved the static files back out, and then added a couple of lines to the .htaccess file

RewriteEngine On
RewriteRule ^mt/(.+).cgi$ cgi-sys/cgiwrap/yourusername/$1.cgi

which I had found on someone else's blog. So far so good, as the man said when he passed the second floor.

Posted by: acb on February 25, 2006 02:47 PM


I did something similar recently (also pair) for Wordpress, to keep from having to open up various directories. WP being php, I'm using php4.cgi, per a pair support note. Seems to work OK.

The RSS link for this article, though, is http://www.thewormbook.com/helmintholog/archives/2006/02/testing_cgiwarp.html

...which gives me a page with exactly the content:

No input file specified.

Posted by: Jonathan Lundell on February 25, 2006 04:25 PM


Post a comment
Textile formatting works here. Double hyphens are automatically converted to en dashes, quotes are automatically smartened. You can put dashes and asterisks around text to make italics bold and other silly effects easily.
  • Text wrapped in Asterisks which * will be bold. The asterisks must touch each end of the bold text. There must a space before the first and after the last.
  • Text wrapped in underscores - _ - will be italicised. The underscores must touch each end of the italics. There must a space before the first and after the last.
  • Paragraphs starting bq. will be block quoted. There must be no space before the "b" and one space after the full stop.
  • A hyperlink is made by wrapping the link text in double quotes, followed immediately by a colon, then the URL. If there is a question mark in the URL, wrap the whole lot in square brackets.
  • I use two classes to mark up text that deserves it. sane text looks like this. loony text looks like that. The syntax for those is %(sane)[space] sane text %; loony is left as an exercise to the reader.
Name:



Email Address:



URL:



Comments:



Remember info?