[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-05 Thread David Pollak
On Mon, May 4, 2009 at 8:14 PM, Dan Greening green...@gmail.com wrote: Thanks, it works! (It is not in Exploring Lift. Who do I lobby to get it in?) If we were to put everything in Lift plus where Lift touches the JEE infrastructure into a book, the book would be about 3,000 pages. This

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-04 Thread David Pollak
Dan, You'll now receive a much more helpful 403 message if you're running in development mode. Thanks, David On Sun, May 3, 2009 at 12:21 PM, Dan Greening green...@gmail.com wrote: I just broke my teeth on this problem also (and 2 days wasted later I discover this thread). I would say

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-04 Thread Dan Greening
Thanks David, Here are two user stories I would like Lift to implement (and I think would be highly beneficial for Lift uptake): 1. As an application developer, I can easily add Lift to my existing static web site. My existing static content continues to be displayed properly, while Lift

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-04 Thread David Pollak
To get both of these user stories, either: Set the web.xml file to only send Lift-related URLs to the Lift servlet filter. Set LiftRules.passNotFoundToChain = true in Boot.scala The former uses your container's features to only send particular requests. The latter tells Lift to pass requests

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-04 Thread Dan Greening
Thanks, it works! (It is not in Exploring Lift. Who do I lobby to get it in?) I have a feeling there are many hidden treasures in Lift. I must love Scala, because I wrote a huge recursive thing to populate a SiteMap. LOL Dan On May 4, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-05-03 Thread Dan Greening
I just broke my teeth on this problem also (and 2 days wasted later I discover this thread). I would say Doh!, but this is hardly a Doh type of thing. Security is important, but also as a new framework, you want rapid uptake by people who won't read 5 chapters of a book before trying something

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Andrew Scherpbier
Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your Boot.scala. Make them Hidden if you don't want them displayed in the menu; you still

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Atsuhiko Yamanaka
Hi, On Thu, Apr 23, 2009 at 9:12 PM, kkarad kka...@googlemail.com wrote: /webapp/WEB-INF/web.xml /webapp/WEB-INF/appengine-web.xml /webapp/fileupload.xthml         --- Access fails using the

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 8:30 AM, Andrew Scherpbier and...@scherpbier.orgwrote: Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Lee Mighdoll
Since lift is a servlet filter, can it simply pass through requests for unmapped html pages and let the web container serve them or send a 404? I don't quite understand the security issue, though. Lee re: documentation, I tripped on this getting started as well. On Thu, Apr 23, 2009 at 8:45

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 9:48 AM, Lee Mighdoll leemighd...@gmail.com wrote: Since lift is a servlet filter, can it simply pass through requests for unmapped html pages and let the web container serve them or send a 404? I don't quite understand the security issue, though. Security issues:

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread Lee Mighdoll
Ah, thanks for the explanation. Perhaps a site map entry for /static in the default archtetype? Lee On Thu, Apr 23, 2009 at 9:51 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Apr 23, 2009 at 9:48 AM, Lee Mighdoll leemighd...@gmail.comwrote: Since lift is a servlet filter,

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 9:59 AM, Lee Mighdoll leemighd...@gmail.com wrote: Ah, thanks for the explanation. Perhaps a site map entry for /static in the default archtetype? K... added Lee On Thu, Apr 23, 2009 at 9:51 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu,