1 Reply Latest reply on Jun 21, 2008 4:58 PM by norman

    hard question on filters

    deanhiller2000

      I would like to create a very special filter that rewrites the requested URL so this...


      hosteditinabox.com/microsoft/web/main.xhtml
      AND
      hosteditinabox.com/ibm/web/main.xhtml


      are rewritten as
      hosteditinabox.com/web/main.xhtml


      and I stuff the actually company id into the session.  Then the filter checks security to see if the logged in user has access to that company and if so forwards to seam to handle properly...hosteditinabox.com/web/main.xhtml  and my seam components can use the company id to get the correct info.  Can I use a seam filter or do I need a servlet filter for this?  Is this even possible?


      yes, ideally, I would like to change DNS but need this as well.  Anyone know how to programatically change DNS so I can add ibm.hosteditinabox.com to a DNS when ibm registers?  That would be nice to know too :), but right now just need something quick and simple like above.


      thanks,
      Dean