Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: t-Debian/Linux
Web server: apache
Perl version: 5.8.4
Client OS:  
Web Browser:  
Categories: Add-Ons

-- JensRoeder - 04 Apr 2005

Answer

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-05-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.