users@glassfish.java.net

Re: Cannot disable Directory Listing on Liferay 4.4.0 and Glassfish v2.x

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 20 May 2008 16:03:16 -0400

Hi,

you must redeploy your application if you changed the default-web.xml.
We have a bug filled against this issue:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3844

It will works after :-)

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> Try to disable Directory Listing after I installed Liferay 4.4.0 and Glassfish v2.x, following this link - http://hobione.wordpress.com/category/glassfish/. But it doesn't work for this installation. Anyone has tried this on Liferay/Glassfish yet?
>
> I turned it off, in domains/domain1/config/default-web.xml:
> <init-param>
> <param-name>listings</param-name>
> <param-value>false</param-value>
> </init-param>
>
> But Glassfish/Grizzly still displayed Directory Listing. Is it possible that Liferay set something in the web.xml file to overwrite this Directory Listing parameter in default-web.xml?
>
> Rob
> [Message sent by forum member 'ryen' (ryen)]
>
> http://forums.java.net/jive/thread.jspa?messageID=275570
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>