[Prev][Next][Index][Thread]
Redirection in CL-HTTP
How do I redirect requests for an entire URL tree in CL-HTTP?
NCSA's httpd has a Redirect directive
(see http://hoohoo.ncsa.uiuc.edu/docs/setup/srm/Redirect.html)
that works on everything below a certain point. But when I try to do
it the obvious way in CL-HTTP 53.7,
(export-url #u"/Old/Stuff/"
:redirect
:recursive-p t
:expiration `(:interval ,(* 15. 60.))
:alternate-urls #u"http://new-server/New/Home/")
the result is that /Old/Stuff/ is redirected to http://new-server/New/Home/
but /Old/Stuff/foo/bar is not redirected to http://new-server/New/Home/foo/bar.
--
--Bob Kanefsky
(Caelum Research Corporation)
NASA Ames Research Center
Computational Sciences Division
http://ic-www.arc.nasa.gov/ic/projects/bayes-group/group/people/kanef/kanef.html
Follow-Ups: