W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1999

Redirect & Relocate

From: Phil Blake <phil@ns2.tcp.net.au>
Date: Sat, 20 Feb 1999 21:53:56 -0500 (EST)
Message-Id: <v04020a01b2f51d493478@[203.34.243.4]>
To: Jigsaw Mailing List <www-jigsaw@w3.org>
Sorry to ask this again, I'm still getting identical results to day 1, even
after all the help people have offered. Either I haven't explained the
problem so anyone can understand it, or I don't understand the answers, so
here I try again... :)

I've now updated the following two classes:
RedirecterFrame 1.4 and
RelocateFrame 1.11


The setup is Jigsaw 2.0.1 running on the host "www.host.com"

space
|--indexers
|  |--MyIndexer
|     |--extensions
|        |--html
|--servlets
|  |--MyServlet
|--virtual
|  |--virtual.host.com:8001
|     |--pages
|        |--test.html
|        |--anotherTest.html
|        |--otherStuff.html

THE ONE AND ONLY GOAL!!!
When anyone requests any document in the pages directory, MyServlet is
called to provide the result.

Sanity Test - The request:
	http://www.host.com:8001/servlets/MyServlet
works perfectly.


1. Redirecter
There is a Redirecter on "MyIndexer->extensions->html" with it's target set
to "/servlets/MyServlet" and,
The "pages" directory has its indexer set to "MyIndexer"

Any request in the "pages" directory returns
Invalid URL
The URL http://www.host.com:8001/servlets/MyServlet that you requested is
not available on that server.

which is clearly wrong as the sanity test works perfectly. Is the wording
in the error wrong or is this a bug?


2. Relocate
There is a Relocate on "MyIndexer->extensions->html" with it's location set
to "/servlets/MyServlet" and as before,
The "pages" directory has its indexer set to "MyIndexer"

Any request in the "pages" directory returns:
Method POST not allowed on this resource.


I've had a few "to-the-point" replies to this before so as I'm obviously
missing the point could someone please explain where I've screwed it up.

Thanks,

Phil
Received on Sunday, 21 February 1999 08:47:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:28 GMT