HI,
While I don't have a direct answer to your problem, I do have some comments, please see them below:
On Tue, Aug 9, 2011 at 12:43 PM, Felix Terkhorn <terk...@gmail.com> wrote:
> Hi all,
>
> I'm trying to set the base URL for my lift application to /mywebapp/l. I
> have the constraint of needing to deploy an additional servlet within my web
> application. So, I ultimately want to be able to access that other servlet
> via /mywebapp/ready, and all lift pages via /mywebapp/l/*
>
> For some reason, when I visit https://myserver.com:8443/mywebapp/l/ , I
> get the message that "The Requested URL /webapp/l/ was not found on this
> server ". However, when I visit /mywebapp, I see a "broken" version of my
> standard lift home page: the body seems to render without any of the
> surrounding content such as menus, styling, etc.
>
> My sitemap definition in Boot may be wrong:
>
> def sitemap() = SiteMap(
> Menu("Home") / "index" >> User.AddUserMenusAfter, // Simple menu form
> // Menu with special Link
> Menu(Loc("Static", Link(List("static"), true, "/static/index"),
> "Static Content")))
>
> I've also tried the following, which had similar behavior:
>
This one does not do what you want having "i/index" will look for a HTML file called I/index.[html|xhtml|...]
So during your testing, stick to the 3rd option (the first one where you just have index may work, I haven't used the LiftRule to add a "fake" subfolder to the site)
Just for debugging purposes, could you remove this section, the one about the security?
Also, try to just have lift serve your app under /myamm/I/ and then add the other stuff
Regards
Diego
>
> Thanks for dealing with my extreme newbieness!
>fffffffffffffffff
> -Felix
>
> --
> Felix Terkhorn, M.S.
> Research Technologist
> Indiana University Data to Insight Center
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
--
Diego Medina
Web Developer
(305) 788-4954
di...@fmpwizard.com
http://www.fmpwizard.com
alright, let's see, when you say that the front page is broken, do you
mean that it looks as if the css files and images are missing ? if
this is the case, right click on the page on your browser and look at
the source. See what is the url that the css files are pointing to.
Also , can you change this:
LiftRules.urlDecorate.append {
case original => "I" + original
}
for
LiftRules.urlDecorate.append {
case original => println("DEBUG: =====> " + original) ; "I" + original
}
just to make sure it is being called.
Regards,
Diego
And that the soround template does not show on your original try at
http://host/I/index
I'm glad it is all working now, good luck on your project and don't
worry, I have done mistakes like that and worse many times :)
Regards,
Diego
P.S. It was nice to see that you *really* tried different things to
solve your issue