Question
I wrote
CacheChooserAddOn which is a shell script that decides wheather or when a Topic needs to be rerendered. Taken over the idea from
CacheAddOn, bin/view is moved to /bin/render and bin/view is linked on bin/cache, as well as bin/refresh is linked on bin/cache, which decides by
$0 content, what to do.
Now my problem: When original bin/view is called with name bin/render and the view script gives out a Moved 302 message with a new Location address, the URL contains the entire path of the refresh script instead of its name only, e.g.:
Status: 302 Moved
Location: http://tubs-brass.ath.cx/twiki/bin//www/htdocs/tubs-brass/twiki/bin/refresh//Termine/WebHome
what leads into a wrong address.
What can I do here and where have I to change what?
Environment
--
JensRoeder - 04 Apr 2005
Answer