From e68627f648b0f0109c5d8932a70e82136f65ea6b Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 3 Nov 1998 07:11:28 +0000 Subject: minor tweaks --- www/webglimpse/files/patch-ak | 28 +++++++++++++++------------- www/webglimpse/files/patch-ao | 5 +++-- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/www/webglimpse/files/patch-ak b/www/webglimpse/files/patch-ak index 50f315d..f6424bc 100644 --- a/www/webglimpse/files/patch-ak +++ b/www/webglimpse/files/patch-ak @@ -1,5 +1,5 @@ --- cgi-bin/webglimpse.orig Mon Jul 27 22:59:49 1998 -+++ cgi-bin/webglimpse Mon Nov 2 15:06:45 1998 ++++ cgi-bin/webglimpse Tue Nov 3 09:20:24 1998 @@ -39,6 +39,9 @@ # **** **** **** **** CONFIGURABLE VARIABLES **** **** **** **** # We need some of these to find our libraries, so wrap them in a BEGIN block @@ -10,7 +10,7 @@ BEGIN{ $WEBGLIMPSE_HOME = "/usr/local/webglimpse"; -@@ -117,14 +120,21 @@ +@@ -117,16 +120,21 @@ # Added optional module to support result caching $QS_cache = ''; @@ -30,11 +30,13 @@ # might as well start the message now -print "Content-type: text/html\n\n"; +- +-print "\n"; +print "Content-type: text/html$charset\n\n"; - print "\n"; + } -@@ -216,10 +226,20 @@ +@@ -216,10 +224,20 @@ $nhhops = 0; $traverse_type = 0; $urlpath = ''; @@ -56,7 +58,7 @@ # Ensure that Glimpse is available on this machine -x $GLIMPSE_LOC || &err_noglimpse($GLIMPSE_LOC) ; -@@ -667,7 +687,7 @@ +@@ -667,7 +685,7 @@ sub err_noneighborhood { local($_) = @_; @@ -65,7 +67,7 @@ # neighborhood does not exist print < -@@ -683,6 +703,7 @@ +@@ -683,6 +701,7 @@ ########################################################################## sub err_noquery { @@ -73,7 +75,7 @@ # The script was called without a query. # Provide an ISINDEX type response for browsers # without form support. -@@ -732,6 +753,7 @@ +@@ -732,6 +751,7 @@ ########################################################################## sub err_noglimpse { local($_) = @_; @@ -81,7 +83,7 @@ # # Glimpse was not found # Report a useful message -@@ -756,6 +778,7 @@ +@@ -756,6 +776,7 @@ ########################################################################## sub err_badglimpse { my(@glines) = @_; @@ -89,7 +91,7 @@ # # Glimpse had an error # Report a useful message -@@ -786,6 +809,7 @@ +@@ -786,6 +807,7 @@ ########################################################################## sub err_noindex { local ($indexdir) = @_; @@ -97,7 +99,7 @@ # Glimpse index was not found # Give recommendations for indexing print "Glimpse Index not found\n"; -@@ -801,6 +825,7 @@ +@@ -801,6 +823,7 @@ } ########################################################################## sub err_insecurepath { @@ -105,7 +107,7 @@ # Path user requested contains ".." characters print "Path not accepted\n"; print "\n"; -@@ -814,6 +839,7 @@ +@@ -814,6 +837,7 @@ ########################################################################## sub err_conf { @@ -113,7 +115,7 @@ # Glimpse archive Configuration File was not found print "Glimpse Archive Configuration File not found\n"; print "\n"; -@@ -827,6 +853,7 @@ +@@ -827,6 +851,7 @@ ########################################################################## sub err_badquery { @@ -121,7 +123,7 @@ print "Query is too broad\n"; print "\n"; print "\n"; -@@ -840,6 +867,7 @@ +@@ -840,6 +865,7 @@ ########################################################################## sub err_locked { diff --git a/www/webglimpse/files/patch-ao b/www/webglimpse/files/patch-ao index 470744b..ca62b4fa 100644 --- a/www/webglimpse/files/patch-ao +++ b/www/webglimpse/files/patch-ao @@ -1,6 +1,6 @@ --- dist/wgfilter-index.orig Tue Jun 16 02:16:17 1998 -+++ dist/wgfilter-index Mon Nov 2 22:11:17 1998 -@@ -1,26 +1,59 @@ ++++ dist/wgfilter-index Tue Nov 3 09:41:31 1998 +@@ -1,26 +1,60 @@ Deny \.gif$ Deny \.jpeg$ Deny \.mpeg$ @@ -37,6 +37,7 @@ +Deny \.lha$ +Deny \.lzh$ +Deny \.doc$ ++Deny \.bin$ +Deny \.eps$ Deny \.ps$ +Deny \.js$ -- cgit v1.1