Parent Directory
|
Revision Log
|
Patch
| revision 2386 by hertzog, Fri Mar 6 21:46:26 2009 UTC | revision 2387 by geissert, Wed Jul 28 18:26:42 2010 UTC | |
|---|---|---|
| # | Line 40 if res: | Line 40 if res: |
| 40 | hash = pkgsrc[0:4] | hash = pkgsrc[0:4] |
| 41 | srcfile = "../web/%s/%s.html" % (hash, pkgsrc) | srcfile = "../web/%s/%s.html" % (hash, pkgsrc) |
| 42 | ||
| 43 | if pkgsrc and os.path.isfile(srcfile): | |
| 44 | print "Status: 307 Temporary Redirect" | |
| 45 | print "Location: /%s" % pkgsrc | |
| 46 | ||
| 47 | print "Content-Type: text/html" | print "Content-Type: text/html" |
| 48 | ||
| 49 | print "<html><head><title>Error 404</title>" | print "<html><head><title>Error 404</title>" |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |