Changeset 69

Show
Ignore:
Timestamp:
11/12/05 23:28:32 (5 years ago)
Author:
dsandler
Message:

Fix #6: use relative Location: and Refresh: tags (e.g. to facilitate operation
behind Apache ProxyPass? installations).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • feedtree/trunk/src/net/feedtree/proxyapp/WebProxyClient.java

    r68 r69  
    725725                try { 
    726726                    printHttpResponse(301); 
    727                     header("Location: /status.html"); 
     727                    header("Location: status.html"); 
    728728                    endHeaders(); 
    729729                } catch (Exception e) { die(e); } 
     
    732732                    printHttpResponse(200); 
    733733                    header("Content-Type: text/html; charset=utf-8"); 
    734                     header("Refresh: 900;url=/status.html"); 
     734                    header("Refresh: 900"); // 15 minutes 
    735735                    endHeaders(); 
    736736                    printStatusPage(output, this);