users@glassfish.java.net

Re: Newly created rails app gives GlassFish v3 Error 404

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Thu, 14 Jun 2007 13:09:04 -0700

On Jun 14, 2007, at 11:13 AM, glassfish_at_javadesktop.org wrote:

> I followed your example, installed JRuby 1.0 and GF v3 p1 b2 and
> found that indeed, if I refer to http://localhost:8080/test then
> the page returned is unable to reference the images and scripts
> (clicking on the "properties" link results in an HTTP error). But,
> if I add a / to the end (http://localhost:8080/test/) then
> everything works fine.
>
> Could that be the problem? Just a matter of the trailing slash?
> That seems like a bug in GF -- it ought to know that "test" refers
> to an application, and automatically redirect to the "/test/" URI.
> Or maybe I misunderstand how these things are supposed to work.
> Generally this is something I would configure in Apache using
> mod_rewrite, so maybe it isn't the responsibility of GF.
yes I have seen this problem. I agree that this is a problem, will
fix it soon, in the meantime, you know what to do :)

jerome

>
> Comments?
> [Message sent by forum member 'nfiedler' (nfiedler)]
>
> http://forums.java.net/jive/thread.jspa?messageID=222226
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>