On Thu, Mar 4, 2010 at 6:34 AM, Gang <[email protected]> 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.
>

That's correct.  If you're using sitemap you have to add the directory the
resource is in, or the resource itself to SiteMap.  SiteMap is more then
just a menu generator.  It's also the security system and other things.


>
> 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]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
James A Barrows

-- 
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.

Reply via email to