Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: probably OT: Apache and Rebol

From: SunandaDH::aol::com at: 28-May-2005 3:34

Eric:
> This is probably more of an Apache question that will be handled easiest > by using mod_rewrite but here goes...
If you have a recent version of Apache that generates the REDIRECT headers as defined here: http://httpd.apache.org/docs/custom-error.html Then: -- make sure that (say) http://mysite.com/myprog.html does *not* exist -- in the .htaccess: errordocument 404 http://www.mysite.com/cgi-bin/handle-requests.r -- in the handle-requests.r script, check the REDIRECT headers to see what the original URL was, and pass to the appropriate handler Sunanda.