Tags:
create new tag
, view all tags

Question

I am moving a set of pages from the Media web to the (new) MediaOps web.

For some of these pages, I am creating a Redirect page in the "old" location, so that bookmarks do not break. I am using the REDIRECT plugin.

Today I moved Media/MediaOpsEmailManagement to MediaOps/EmailManagement and put a redirect into the original Media/ location.

Imagine my surprise when a co-worker told me, about an hour later, that Media/MediaOpsNewEmployee was redirecting to EmailManagement.

And no, I hadn't touched Media/MediaOpsNewEmployee yet. I should also mention that when I use twiki/bin/edit/Media/MediaOpsNewEmployee I see exactly the content I expect to see. No accidental REDIRECT command in sight.

Given what I know aboout how TWiki works underneath, I'm perplexed. This is a Unix server. I could understand the redirect getting confused but how did a totally unrelated file get involved?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality, Plugins

-- VickiBrown - 03 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Do you run under an accelerator like mod_perl or persistent_perl (speedy)? Did your co-worker, before running into the unexpected redirection, attempt to read the redirected topic Media/MediaOpsEmailManagement? Can you track down the corresponding sequence of requests in your web server log?

I could imagine a situation where a persistent process would, by some freak chance, return a 302 status code which has been intended for a previous request. RedirectPlugin works pretty simple, it just prints a redirection header to STDOUT, without suppressing further output. Multiple %REDIRECT{...}% tags within one page will create multiple such headers. Perhaps some web browser stops reading after the first header, and the second is interpreted by another tab in the browser's window?

This pretty much looks like a very strange coincidence which will be very difficult to track down without more details.

-- HaraldJoerg - 03 Jul 2007

Closing this after more than 30 days of inactivity...

-- PeterThoeny - 12 Aug 2007

 
Change status to:
Topic revision: r4 - 2007-08-12 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.