Meta

  1. Recent blog posts

  1. Papers and HowTos

Recent output

  1. July 2007

    • user warning: Got error 28 from storage engine query: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE r.vid = 14 ORDER BY v.weight, t.weight, t.name in /mnt/home/httpd/drupal/modules/taxonomy/taxonomy.module on line 633.
    • user warning: Got error 28 from storage engine query: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE r.vid = 15 ORDER BY v.weight, t.weight, t.name in /mnt/home/httpd/drupal/modules/taxonomy/taxonomy.module on line 633.
  2. Blocking image linking to (Sun|Open) Web Server

    Fri, 07/20/2007 - 13:17 — jmccabe

    [Note: I no longer work for Sun. I am slowly migrating the more worthwhile blog entries I made for Sun to my own blog. I need the Google love.]

    Originally posted on July 20, 2007:

    In the Web Server 6.1 time frame I had hacked together a <Client> tag solution to block external image linking to my site (I'm glad people like my images, but my server has limited bandwidth and I'd rather that my purdy images chew up bandwidth making my site purdy instead of someone else's). This worked great until I began using Gallery 2. Under Gallery2 the URIs for images aren't exactly "clean." They look something like this:

    /main.php?g2_view=core.DownloadItem&g2_itemId=10436&g2_serialNumber=2

    This obviously won't get caught by my original <Client> tag (it looks specifically for file names that look like, you know, file names), so I've now got an excuse to recreate that bad boy using the <If ...> syntax in Web Server 7.0.

     

  • Gallery2, URL Rewriting, and (Sun|Open) Web Server

    Thu, 07/19/2007 - 18:52 — jmccabe

    [Note: I no longer work for Sun. I am slowly migrating the more worthwhile blog entries I made for Sun to my own blog. I need the Google love.]

    Originally posted on July 19, 2007:

    On my personal web site I use Sun Java System Web Server 7.0 and a slew of PHP applications. One of them, Gallery2, has built in support for URL rewriting. Unfortunately it depends on an extension to Apache called mod_rewrite and the syntax for the same functionality in Web Server is a bit different. Because of this I've been putting off enabling the feature until I could spare a few hours to research the differences and rewrite the rules. Here's what I came up with.

     

  • Small Things

    1. Monthly archive