PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 12-29-2004, 03:05 AM   #1
djwm
Green Mole
 
Join Date: Dec 2004
Posts: 2
Smile Excluding/Including by Path

Hello,

I'm trying to get PhpDig to index around 2,500 Word, Excel and PDF files for our Business. For this task I've got apache running on our fileserver and I'm trying to use the indexes it generates as the feed for PhpDig. This seems to work quite well but it has a few problems. I'm sure these are simply resolved but I have searched around and I can't find what I need.

The main problem is that the directory indexes, and their various re-sorted permutations are also part of the index and are returned in the search results. I'd like to exclude them so that a search will return only matched, doc, xls, and pdf files. If this means modifying the code any hints on where to start? I didn't find a configuration option which seemed to do what I would like.

On a side note, I'm not sure how many of the files have been placed in the index. Is there an easy way to check? I've got logging enabled by I can't find a log file anywhere.

My config.php (very few changes)
http://www.helenmarks.co.uk/~dom/config.php.txt

Thanks, PhpDig installed very smoothly indeed. I'm impressed!
Dom
djwm is offline   Reply With Quote
Old 12-30-2004, 11:35 AM   #2
rAdoN
Green Mole
 
Join Date: Oct 2004
Posts: 27
what - config has parameter for these - do you add them - why - see

http://www.phpdig.net/forum/showthre...apache+indexes

PHP Code:
//apache multi indexes parameters
$apache_indexes = array (  "?N=A" => 1,
                           
"?N=D" => 1,
                           
"?M=A" => 1,
                           
"?M=D" => 1,
                           
"?S=A" => 1,
                           
"?S=D" => 1,
                           
"?D=A" => 1,
                           
"?D=D" => 1,
                           
"?C=N&O=A" => 1,
                           
"?C=M&O=A" => 1,
                           
"?C=S&O=A" => 1,
                           
"?C=D&O=A" => 1,
                           
"?C=N&O=D" => 1,
                           
"?C=M&O=D" => 1,
                           
"?C=S&O=D" => 1,
                           
"?C=D&O=D" => 1); 
__________________
rAdoN was here
rAdoN is offline   Reply With Quote
Old 01-02-2005, 04:13 AM   #3
djwm
Green Mole
 
Join Date: Dec 2004
Posts: 2
Talking

Thanks, I'll update this, and run the spider again.
djwm is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help including search.php dhoyos Troubleshooting 2 02-02-2007 12:53 PM
Excluding phpsessid's Slider How-to Forum 1 01-01-2005 04:35 PM
Excluding only one link arena75 How-to Forum 5 10-10-2004 01:46 PM
Excluding toolbars etc cgbrowne How-to Forum 1 04-14-2004 05:39 AM
excluding problem schaapje Troubleshooting 1 03-30-2004 09:51 AM


All times are GMT -8. The time now is 09:40 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.