[Seaside] /files application
Bernhard Pieber
bernhard at pieber.com
Tue Nov 27 19:28:59 UTC 2018
Hi Mariano,
Thanks for the tip. I will give that a try. I assume that WAAdmin clearAll removes the /files application as well, and that I would have to serve JQuery statically as well for it to work, right?
Cheers,
Bernhard
> Am 27.11.2018 um 13:40 schrieb Mariano Martinez Peck <marianopeck at gmail.com>:
>
>
>
> On Mon, Nov 26, 2018 at 2:13 PM Bernhard Pieber <bernhard at pieber.com> wrote:
> Hi,
>
> I am using a file library (JQDeploymentLibrary) in a deployed image. If I enter /files I get a listing of all flle libraries under the heading of "Index of /files". I would like to remove that functionality in the deployed application. It seems I cannot just remove the /files application itself because if I do JQuery stops working. I'd appreciate any tips on how to solve that.
>
>
> Usually, when I am deploying in production and I serve static files from an external web server what I do is:
>
> WAAdmin disableDevelopmentTools.
> WAAdmin clearAll.
> self registerMyApps.
>
> There, just change "self registerMyApps." to whatever code you use to register your own apps....so basically I unregister everything and then just register my apps...
>
>
> --
> Mariano
> https://twitter.com/MartinezPeck
> http://marianopeck.wordpress.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list