Why do you have // in the URL? Cheers, Tim
On 4 Mar 2010, at 13:34, Gang wrote: > Could somebody answer my question? If it's too stupid a question to > answer, please let me know that too. It just seems to me that unless > I add a link to SiteMap, the links(<a> tag) in my page just return > 404. And I tried following URL rewrite without adding link to > SiteMap, still 404 error. > > Thanks > > On Feb 28, 6:20 pm, Gang <[email protected]> wrote: >> All, >> >> I have this rewrite returning 404 error. Here are what I did: >> >> URL: ../app-context-path//images/CBDU-1098-BCV?F1115261516749FQD=_ >> >> Template: src/main/webapp/viewImages.html >> >> LiftRules.rewrite.append( { >> case RewriteRequest(ParsePath("images" :: sku :: Nil, _, _,_), >> _, _) => >> RewriteResponse("viewImages" :: Nil, Map("imageId" -> >> sku)) >> } ) >> >> Are there any other settings I need to set? I have looked around but >> couldn't find any other than the basics listed above. Thanks in >> advance! > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
