Hi Alex, On 5/10/13 8:16 AM, Alexander Burger wrote:
HI Jon,(html NIL "-index-" "@lib.css" NIL (<h1> NIL (ht:Prin (car (file)))) ) gives me a page that says "doc//", with two slashes at the end instead of just one ...?Strange, I see only one slash. How did you invoke it? I put this into "doc/default": (html NIL "-index-" "@lib.css" NIL (<h1> NIL (ht:Prin (car (file)))) (<ul> NIL (for X (dir (car (file))) (<li> NIL X) ) ) ) and then called: $ ./pil lib/http.l lib/xhtml.l lib/form.l --server 8080 doc + I get a header "doc/" followed by the list of files ♪♫ Alex
If I do as you describe here and go to "http://localhost:8080/" or "http://localhost:8080/doc" in my browser (Safari or Firefox), I get the "doc/" header and the correct listing of files/folders (incl. "default"). However, if I go to "http://localhost:8080/doc/", I get the "doc//" header. The listing remains the same. Do we have a bug?
I'm using the latest 32-bit pil, on Mac. /Jon -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
