Hi,
we are using Sun ONE web server 6.1 SP 4.
We are trying to setup our web server to make 301 permanent redirections from several URIs to other URL. The problem is that our URIs need to contain a query string (ie, are of the form "/servlet?cat=19100&med=674").
Our obj.conf looks like the following (abreviated for clarity)
<Object name="default">
....
NameTrans fn="redirect" from="/servlet?cat=19100&med=674" url="http://{our domain}/servlet?cat=68600&med=580"
NameTrans fn="redirect" from="/index.html" url="/servlet"
....
<Client code="302">
Output fn="set-variable" error="301" noaction="true"
</Client>
</Object>
...
The first "redirection" (the one with parameters in the URL) entry is not working, but the second is.
I suspect the problem is that Sun ONE doesn't support having URL parameters in the "from", but I haven't found anything stating it. Do you think this is the problem? In that case, is there any workaround that doesn't imply writing a NSAPI plugin?
Thanks in advance