Nope, this doesn't work:
Directory d = new Directory(getContext(),
" clap: //thread/client-bin");
d.setNegotiateContent(false);
d.setIndexName("index.html");
guard1.setNext(d);
Though this does:
Directory d = new Directory(getContext(),
" file: //home/imaginary/build/dir/client-bin");
d.setNegotiateContent(false);
d.setIndexName("index.html");
guard1.setNext(d);
- Rob
----- Original Message -----
From: "Jerome Louvel" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, October 9, 2007 3:41:05 PM (GMT-0500) America/New_York
Subject: RE: Index files don't work with Directory and clap://
Rob,
> Yes. I think simply being able to specify "index.html"
> instead of "index"
> and turn off content negotiation is what I want here. So, if I set
> negotiateContent to false and indexName to "index.html," that should
> do the trick already, or do I need to do some surgery first?
My guess is that should work directly. Otherwise we'll make it work this way
:)
Best regards,
Jerome