Dan Miser wrote:

> I installed the binary Struts in Tomcat 3.2.1 on Win2000 Advanced Server. I
> am able to access http://localhost/struts-documentation with no problems. I
> can also access http://localhost:8080/struts-example with no problems.
>
> However, if I look at the login link on the main page of
> http://localhost/struts-example I see
> http://localhost/struts-example/logon.jsp;jsessionid=d4hn9n5b31.
> The registration link is the same (i.e. it has jsessionid appended to the
> URL). This results in a 404 when trying to access the page.
>

If you run Tomcat behind Apache, there are some tweaks needed in httpd.conf to
make Apache understand the session ids added via URL rewriting.  This will
affect all webapps that use URL rewriting, not just Struts.

The details are in the FAQ at the Jakarta web site <http://jakarta.apache.org>
-- do a search for "URL rewriting" and you should find the right article.

>
> Any ideas on what's causing this? Thanks.
> --
> Dan Miser

Craig


Reply via email to