Changeset 1682

Show
Ignore:
Timestamp:
02/24/05 12:22:07 (4 years ago)
Author:
whmoseley
Message:

Move to using REQUEST_URI. Note to self: add host.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish_website/src/404.html

    r1681 r1682  
    1414 
    1515    # Look for possible redirects 
     16    # REQUEST_URI doens't have host, so not valid redirect. 
    1617 
    17     if ( $_ = $ENV{REDIRECT_SCRIPT_URI} || $ENV{REDIRECT_URL} ) { 
     18    if ( $_ = $ENV{REDIRECT_SCRIPT_URI} || $ENV{REQUEST_URI} ) { 
    1819        redirect($_) if s[/Download][/download]; 
    1920        redirect($_) if s[/Discussion/archive][/archive];