Loading ...
Sorry, an error occurred while loading the content.

5177Re: apache configuration for REST and pseudo-URL's

Expand Messages
  • jpecore
    Aug 17, 2005
    • 0 Attachment
      Can Apache Cocoon (using sitemap.xmap) be used instead of Apache
      mod-rewrite to configure a server for REST and pseudo-URLs?

      If so, any pros or cons of using one over the other?

      - Joe

      --- In rest-discuss@yahoogroups.com, "Ron" <tiltbike@y...> wrote:
      > --- In rest-discuss@yahoogroups.com, "Jeff Stern <jastern949@y...>"
      > <jastern949@y...> wrote:
      >
      > > i'd like to configure our apache server for REST
      >
      > > i don't want to have to go through the trouble of setting up
      > re-write
      > > rules (using mod-rewrite).. but is that what people generally do?
      >
      > Yep, looks like it.
      >
      > > or is the SetHandler/Action way the easier way, but i'm just missing
      > > something? .. what am i doing wrong?
      >
      > Well, it seems to be part of the solution, but an addition to
      > mod_rewrite, not a substitute for it.
      >
      > > alternatively, is there a tutorial / directions on this somewhere?
      > >
      > > finally, what word/term/jargon does one even *use* to refer to this
      > > phenomenon or technique? i've looked stuff up under "dispatcher", or
      > > "URL", or "cgi" or "script", or even with specific apache terms like
      > > "SetHandler".. but is there generally a name for this "technique" so
      > > that i can even know how to refer to it or how to look for it?
      >
      >
      > The best tuts I found were under "Search-engine friendly" instead of
      > "Representational State Transfer" per se, as far as Google is
      > concerned. I felt lucky to dig up this old thread, but I can't say the
      > responses were tremendously helpful to me (I am up to a very basic
      > understanding of REST, but not of Apache.)
      >
      > You've undoubtably found an answer already, but here are some
      > resources for others who stumble across this thread.
      >
      > http://www.sitepoint.com/print/guide-url-rewriting and
      > http://www.sitepoint.com/print/search-engine-friendly-urls are some
      > help, and CherryPy http://www.cherrypy.org has a handy "default"
      > method that looks like it may address this problem.
    • Show all 6 messages in this topic