Askemos Forum

redirecting the browser23. September 2004
Sometimes it's useful to redirect read requests, here is how.

A typical use of redirection would be to redirect read requests to a directory to the index.html page in the directory. That's what popular web servers usually do. To achieve that effect return this:

   <d:output d:xmlns="mind" d:location="
  (read-locator (msg 'location-format)
    `("index.html" . ,(msg 'location)))
">
    <d:copy-of select="(fetch "index.html")">
   </d:output>

Note that an attribute location is attached to the output element. The protocol adaptor will create the appropriate HTTP headers and code.

arden plaza pharmacy 23. September 2008
asacol canadian pharmacy 23. September 2008
2007 specialty pharmacy payer spending 20 22. September 2008
apthorpe pharmacy 22. September 2008
birmingham pharmacies 22. September 2008
arsha pharmacy corporation 21. September 2008
car rim platers pa 8. September 2008
car revuews 8. September 2008
bmw 325 timing chain 2. August 2008

Post replies via login host.

Intro - slides
Askemos Wiki
Publikationen