diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-05 01:06:42 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-11-05 01:06:42 +0000 |
commit | 923087471dd715707cef0bd9751c216d4d54eeb8 (patch) | |
tree | a8738b594ff6ac892e768b8d3e88be74c2e44353 /bin/show_log_dir.pl | |
parent | ad6266a33e030553291eeab1f0c7c6972dd3c33c (diff) | |
download | ATCD-923087471dd715707cef0bd9751c216d4d54eeb8.tar.gz |
ChangeLogTag:Sat Nov 4 17:05:08 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'bin/show_log_dir.pl')
-rwxr-xr-x | bin/show_log_dir.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/show_log_dir.pl b/bin/show_log_dir.pl index d994fe2fe45..ab6d579ec8f 100755 --- a/bin/show_log_dir.pl +++ b/bin/show_log_dir.pl @@ -22,8 +22,8 @@ $BASE_DIR='/home/bugzilla/.www-docs/auto_compile_logs'; 'tango_Exceptions' ); -# After customizing the variables above, you must uncomment the following code -print "HTTP/1.0 200 OK\n"; +# After customizing the variables above, you must remove or comment +# out the following code print "Content-Type: text/html\n\n"; print "Error: You must customize this script before installation\n"; exit (0); @@ -37,7 +37,6 @@ $title = $ENV{QUERY_STRING}; @matches = grep {/^$title$/} @KNOWN_DIRS; if ($#matches == -1) { - print "HTTP/1.0 404 Not Found\n"; print "Content-Type: text/html\n\n"; print "Error: Unknown config: $title\n"; exit (0); @@ -49,7 +48,6 @@ $dir = $title; if (!opendir (DIR, "$BASE_DIR/$dir")) { - print "HTTP/1.0 404 Not Found\n"; print "Content-Type: text/html\n\n"; print "Error Could not open $dir<br>$!"; exit (1); |