File: locations

package info (click to toggle)
swish%2B%2B 6.1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 2,904 kB
  • sloc: ansic: 11,936; lisp: 804; sh: 629; perl: 366; makefile: 42
file content (63 lines) | stat: -rw-r--r-- 1,861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
--- a/scripts/searchd.in
+++ b/scripts/searchd.in
@@ -26,7 +26,7 @@
 ##
 # What stuff is called and where it's located.
 ##
-SEARCH="search"
+SEARCH="search++"
 SEARCH_PATH="%%I_BIN%%/$SEARCH"
 SEARCHMONITOR="%%I_BIN%%/searchmonitor"
 CONF_FILE="/etc/swish++.conf"
--- a/scripts/searchmonitor.in
+++ b/scripts/searchmonitor.in
@@ -25,7 +25,7 @@
 # What stuff is called and where it's located.
 ##
 LOG="logger -t search -p daemon"
-SEARCH_DEFAULT="%%I_BIN%%/search"
+SEARCH_DEFAULT="%%I_BIN%%/search++"
 
 ##
 # You may need to set LD_LIBRARY_PATH to contain the directory of the C++
--- a/www_example/search.cgi
+++ b/www_example/search.cgi
@@ -1,4 +1,4 @@
-#! /usr/local/bin/perl
+#! /usr/bin/perl
 ###############################################################################
 #
 # NAME
@@ -30,19 +30,19 @@
 #
 ###############################################################################
 
-use lib qw( /home/www/swish++/lib/ );
+use lib qw( /usr/lib/swish++ );
 #		Put the path to where the WWW library is above.
 require WWW;
 
-$SWISH_BIN =	'/usr/local/bin';
+$SWISH_BIN =	'/usr/bin';
 #		The full path to the bin directory where you installed the
 #		SWISH++ executables.
 
-$DOC_ROOT =	'/home/www/httpd/htdocs';
+$DOC_ROOT =	'/var/www/htdocs';
 #		The top-level directory for your document tree presumeably
 #		where the index was generated from.
 
-$INDEX_FILE =	'/home/www/swish++.index';
+$INDEX_FILE =	'/var/www/swish++.index';
 #		The full path to the index file to be searched through.
 
 #$SOCKET_FILE =	'/tmp/search.socket';
@@ -125,7 +125,7 @@
 	# legitimate options.  If not given, it may be possible for a user to
 	# give options in the search terms.
 	##
-	open( SEARCH, "$SWISH_BIN/search -i $INDEX_FILE @options -- $search |" )
+	open( SEARCH, "$SWISH_BIN/searchi++ -i $INDEX_FILE @options -- $search |" )
 		|| die "open: $!";
 }