<?xml version="1.0" encoding="UTF-8"?>
<essay xml:lang="en" version="pto" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:gal="http://norman.walsh.name/rdf/gallery#">
<info>
    
    
    
    
    
    
    
<title>WITW: LimitExcept</title><biblioid class="uri">http://norman.walsh.name/2005/02/22/limitexcept</biblioid>
<volumenum>8</volumenum>
<issuenum>30</issuenum>
<pubdate>2005-02-22T22:22:08-05:00</pubdate>
<date>$Date: 2005-09-11 10:27:02 -0400 (Sun, 11 Sep 2005) $</date>
<author>
      <personname>
<firstname>Norman</firstname>
	<surname>Walsh</surname>
</personname>
    </author>
<copyright>
      <year>2005</year>
      <holder>Norman Walsh</holder>
    </copyright>
<abstract>
<para>Cue emotisound, *facepalm*</para>
</abstract>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#WebServices"/>
</info>

<para xml:id="p1"><personname>
      <firstname>Leigh</firstname>
<surname>Dodds</surname>
    </personname> makes
<link xlink:href="http://www.ldodds.com/blog/archives/000189.html">some
good points</link> about a couple of the clumsier aspects of WITW.
He calls particular attention to the annoying distinction between
<uri>http://norman.walsh.name/2005/02/witw/is/ndw</uri>
and <uri>http://norman.walsh.name/2005/02/witw/ami/now</uri>.
</para>

<para xml:id="p2">I did that in order to put POST in an authentication
realm while leaving GET outside one. In a brief private conversation
that followed his post, Leigh pointed me to the
<code>LimitExcept</code> directive. In particular, towards a configuration
like this:</para>

<programlisting>&lt;Directory /the/real/place/where/lives/witw/&gt;
    AllowOverride None
    Order allow,deny
    Allow from all
    Options ExecCGI
    &lt;LimitExcept GET&gt;
      AuthType Basic
      AuthName "WITW"
      AuthUserFile /the/real/place/where/the/data/is/passwd
      Require valid-user
    &lt;/LimitExcept&gt;</programlisting>

<para xml:id="p3">I expect that the <uri>…/ami/now</uri> URI will
soon vanish, leaving <code>GET</code>, <code>POST</code>, and perhaps
even <code>PUT</code> all operating on the <uri>…/is</uri> URI.</para>

<para xml:id="p4">With respect to his thoughts about having an
identifier (a URI) for landmarks, I think Leigh is right about that too.
Landmarks were an afterthought, a bit of eye candy around the heart
of the service: users and their locations. After I get
<emphasis>something</emphasis> working with WSDL, I'll probably go
back and rethink things a bit.</para>

<para xml:id="p5">Thanks, Leigh!</para>

</essay>

