cvs: phpweb / mirroring.php search.php
| From: | Gabor Hojtsy | Date: | Sat, 04 Jan 2003 18:41:43 +0000 |
| Subject: | cvs: phpweb / mirroring.php search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14704@lists.php.net to get a copy of this message | ||
goba Sat Jan 4 13:41:43 2003 EDT
Modified files:
/phpweb mirroring.php search.php
Log:
Never return results from the howto. Also add a / after howto, so page with
names starting with howto will show up...
Index: phpweb/mirroring.php
diff -u phpweb/mirroring.php:1.13 phpweb/mirroring.php:1.14
--- phpweb/mirroring.php:1.13 Sat Jan 4 13:38:14 2003
+++ phpweb/mirroring.php Sat Jan 4 13:41:43 2003
@@ -117,7 +117,7 @@
# The next lines are only necessary if you would
# like to provide local search support (see /Mirrors-htdig.tgz)
SetEnv HTSEARCH_PROG /local/htdig/bin/htphp.sh
- SetEnv HTSEARCH_EXCLUDE "/print/ /printwn/ /manual/howto /cal.php"
+ SetEnv HTSEARCH_EXCLUDE "/print/ /printwn/ /manual/howto/ /cal.php"
</VirtualHost>
</pre>
Index: phpweb/search.php
diff -u phpweb/search.php:1.57 phpweb/search.php:1.58
--- phpweb/search.php:1.57 Sat Jan 4 13:33:02 2003
+++ phpweb/search.php Sat Jan 4 13:41:43 2003
@@ -193,7 +193,7 @@
// Always exclude the printer friendly pages of both types
// The last exclude is a fix for the bogus index database of php.net,
// and may be removed if the index problems are resolved [see bug #20870]
- $exclude = escapeshellcmd(urlencode("/print/|/printwn/|.php/"));
+ $exclude = escapeshellcmd(urlencode("/print/|/printwn/|.php/|/manual/howto/"));
// Create the htdig query, and execute the engine
$query =
"words=$words&config=php&exclude=$exclude&restrict=$restrict$pgr";