6.1 sp5: URL Forward and Servlet need help
Hi all,
I am running SunOne 6.1 SP5 under Solaris 5.9
I have set up a URL forward from "/" to an external static page.
I also have a servlet at "/servlet/redirect_xxx".
Using the default obj.conf I found that the redirect was taking precedence and I could not reference the servlet.
I have tweaked the obj.conf file so that the servlet is now working (by reordering the NameTrans declarations, but now the redirect is not working. I cant seem to find any way to get both my functions to work.
Is there a global setting that I can use to ensure that the full URI path is checked rather than the substring (which the engine appears to be doing) ?
Default obj.conf:
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/SUNWwbsvr/ns-icons" name="es-internal"
NameTrans fn="redirect" from="/" url="http://www.thewest.com.au/default.aspx?MenuID=99&ContentID=116"
NameTrans fn="document-root" root="$docroot"
Edited obj.conf:
NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/SUNWwbsvr/ns-icons" name="es-internal"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn="document-root" root="$docroot"
NameTrans fn="redirect" from="/" url="http://www.thewest.com.au/default.aspx?MenuID=99&ContentID=116"
Thanks in advance.

