From perlfect-search@perlfect.com Mon Feb 2 10:08:56 2004 From: perlfect-search@perlfect.com (Finnis, John A) Date: Mon, 2 Feb 2004 10:08:56 -0000 Subject: [Perlfect-search] Results Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C3E974.91C1A07C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for your help with indexing PDFs. It now works. Is there any way of changing the number of results per page? Also can it = be customized so PDFs open in a new window, ie add target=3D"_blank" to = the PDF's A tag? cheers ------_=_NextPart_001_01C3E974.91C1A07C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Results

Thanks for your help with indexing = PDFs. It now works.

Is there any way of changing the number = of results per page? Also can it be customized so PDFs open in a new = window, ie add target=3D"_blank" to the PDF's A = tag?

cheers

------_=_NextPart_001_01C3E974.91C1A07C-- From perlfect-search@perlfect.com Mon Feb 2 17:22:27 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Mon, 2 Feb 2004 18:22:27 +0100 Subject: [Perlfect-search] Results In-Reply-To: References: Message-ID: <200402021822.27746@danielnaber.de> On Monday 02 February 2004 11:08, Finnis, John A wrote: > Is there any way of changing the number of results per page? Also can it > be customized so PDFs open in a new window, ie add target="_blank" to > the PDF's A tag? See $RESULTS_PER_PAGE in conf.pl. Changing the target only for PDF files is not possible (i.e. not without modifying the code in search.pl). Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Mon Feb 2 17:26:24 2004 From: perlfect-search@perlfect.com (YamaBob 217) Date: Mon, 02 Feb 2004 17:26:24 +0000 Subject: [Perlfect-search] Search results are missing for shtml pages? Message-ID: If someone has had a similar experience, please help. I have pages that are generated using SSI and have an extension of "shtml". When I do a search, the pages that should be included in the results are indeed there, but the description contents that would appear in the tag seems to contain the page title instead of the text that normally appears. Any suggestions would be greatly appreciated. Thanks, Bob _________________________________________________________________ Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1 From perlfect-search@perlfect.com Mon Feb 2 17:56:33 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Mon, 2 Feb 2004 18:56:33 +0100 Subject: [Perlfect-search] Search results are missing for shtml pages? In-Reply-To: References: Message-ID: <200402021856.33901@danielnaber.de> On Monday 02 February 2004 18:26, YamaBob 217 wrote: > When I do a search, the pages that should be included in the results are > indeed there, but the description contents that would appear in the > tag seems to contain the page title instead of > the text that normally appears. Is it the content that is inserted into the pages via SSI? In that case you need to index via http, i.e. set $HTTP_START_URL. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Thu Feb 5 21:15:15 2004 From: perlfect-search@perlfect.com (Charles Chilcote) Date: Thu, 5 Feb 2004 16:15:15 -0500 Subject: [Perlfect-search] Re: Results Message-ID: <003601c3ec2d$26fffd20$0601a8c0@CSC> This is a multi-part message in MIME format. ------=_NextPart_000_0033_01C3EC03.3DAB4F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > >Thanks for your help with indexing PDFs. It now works. > >Is there any way of changing the number of results per page? Also can = it =3D >be customized so PDFs open in a new window, ie add target=3D3D"_blank" = to =3D >the PDF's A tag? > >cheers > > Greetings, I also wanted the pdf links to open in a new window. Although I imagine = this isn't the prettiest code, it seems to get the job done. =20 I suppose an extension list variable could be created in the conf.pl = file to determine what file types would cause a new window, and then use = that for the comparison instead the hard-coded "pdf" value below. I added this code to the cast_template subroutine. Red=3DNew, = Blue=3DOriginal=20 my $cscext =3D get_suffix($url); if($cscext ne "pdf") { $template->cast_loop ("results", [{rank =3D> $first+(++$rank),=20 url =3D> $url, highlight_link =3D> $highlight_link, visibleurl =3D> $visible_url,=20 title =3D> $title,=20 date =3D> $date,=20 score =3D> $score, description =3D> $desc, size =3D> sprintf("%.0f", $sizes_db{$_}/1000) || = 1, }]); } else { my $blankpage =3D '" target=3D"_blank'; $template->cast_loop ("results", [{rank =3D> $first+(++$rank),=20 url =3D> $url . $blankpage, highlight_link =3D> $highlight_link, visibleurl =3D> $visible_url,=20 title =3D> $title,=20 date =3D> $date,=20 score =3D> $score, description =3D> $desc, size =3D> sprintf("%.0f", $sizes_db{$_}/1000) || = 1, }]); =20 } Charles Chilcote Programmer/Analyst Nitterhouse Concrete Products, Inc. http://www.nitterhouse.com/Home.html ------=_NextPart_000_0033_01C3EC03.3DAB4F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
>
>Thanks for your help with indexing PDFs. It now = works.
>
>Is there any way of changing the number of results per = page?=20 Also can it =3D
>be customized so PDFs open in a new window, ie = add=20 target=3D3D"_blank" to =3D
>the PDF's A tag?
>
>cheers
>
>
 
Greetings,
 
I also wanted the pdf links to open in a new=20 window.  Although I imagine this isn't the = prettiest=20 code, it seems to get the job done. 
 
I suppose an extension list variable could be = created in the=20 conf.pl file to determine what file types would cause a new window, and = then use=20 that for the comparison instead the hard-coded "pdf" value=20 below.
 
I added this code to the cast_template subroutine.  Red=3DNew, = Blue=3DOriginal 
 
    my=20 $cscext =3D get_suffix($url);
    if($cscext ne "pdf") = {
    = $template->cast_loop=20 ("results", [{rank =3D> $first+(++$rank),=20
           &nb= sp;          =20 url =3D>=20 $url,
          &nbs= p;           =20 highlight_link =3D>=20 $highlight_link,
         = ;            =  =20 visibleurl =3D> $visible_url,=20
           &nb= sp;          =20 title =3D> $title,=20
           &nb= sp;          =20 date =3D> $date,=20
           &nb= sp;          =20 score =3D>=20 $score,
          &n= bsp;           =20 description =3D>=20 $desc,
          &nb= sp;           =20 size =3D> sprintf("%.0f", $sizes_db{$_}/1000) ||=20 1,
           &= nbsp;         =20 }]);
    = }
   =20 else {
    my $blankpage =3D '"=20 target=3D"_blank';
    $template->cast_loop = ("results",=20 [{rank =3D> $first+(++$rank),=20
           &nb= sp;          =20 url =3D> $url .=20 $blankpage,
         &nbs= p;            = ;=20 highlight_link =3D>=20 $highlight_link,
         = ;            =  =20 visibleurl =3D> $visible_url,=20
           &nb= sp;          =20 title =3D> $title,=20
           &nb= sp;          =20 date =3D> $date,=20
           &nb= sp;          =20 score =3D>=20 $score,
          &n= bsp;           =20 description =3D>=20 $desc,
          &nb= sp;           =20 size =3D> sprintf("%.0f", $sizes_db{$_}/1000) ||=20 1,
           &= nbsp;         =20 }]);   
    }
 
 
Charles Chilcote
Programmer/Analyst
Nitterhouse Concrete Products, Inc.
http://www.nitterhouse.com/= Home.html
------=_NextPart_000_0033_01C3EC03.3DAB4F40-- From perlfect-search@perlfect.com Thu Feb 5 23:03:31 2004 From: perlfect-search@perlfect.com (Krishnakishore R Challa) Date: Thu, 5 Feb 2004 17:03:31 -0600 Subject: [Perlfect-search] Number of indexed Terms Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3EC3C.45DA302A Content-Type: text/plain Is there a limit to the maximum number of terms being indexed like the documents? Thanks! Kishore. ------_=_NextPart_001_01C3EC3C.45DA302A Content-Type: text/html Number of indexed Terms

Is there a limit to the maximum number of terms being indexed like the documents?

Thanks!
Kishore.

------_=_NextPart_001_01C3EC3C.45DA302A-- From perlfect-search@perlfect.com Thu Feb 5 23:36:37 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Fri, 6 Feb 2004 00:36:37 +0100 Subject: [Perlfect-search] Number of indexed Terms In-Reply-To: References: Message-ID: <200402060036.37936@danielnaber.de> On Friday 06 February 2004 00:03, Krishnakishore R Challa wrote: > Is there a limit to the maximum number of terms being indexed like the > documents? No, at least I'm not aware of such a limit. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Wed Feb 11 06:09:17 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Wed, 11 Feb 2004 07:09:17 +0100 Subject: [Perlfect-search] Displaying results: MS Word Docs Message-ID: obviously the the first lines of the document are displayed in the result list. this does not really make sense, because the information is rather messie: 5. f039.02.doc RT... and lots of "nonmailable" characters. how can i change this? o display some information of the document, e.g. just the context where the search key has been found or o prevent the display of unreadable information a+ wolfgang From perlfect-search@perlfect.com Wed Feb 11 07:16:26 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Wed, 11 Feb 2004 08:16:26 +0100 Subject: [Perlfect-search] Displaying results: MS Word Docs In-Reply-To: References: Message-ID: <200402110816.26326@danielnaber.de> On Wednesday 11 February 2004 07:09, Wolfgang.Conzendorf@rcibanque.de wrote: > obviously the the first lines of the document are displayed in the > result list. > this does not really make sense, because the information is rather > messie: > > 5. f039.02.doc > RT... and lots of "nonmailable" characters. Are you sure that some MS-Word to text converter (like antiword) is set up in conf.pl? What does it return if you call it manually? If it returns garbage, there's nothing Perlfect Search can do. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Thu Feb 12 10:22:03 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Thu, 12 Feb 2004 11:22:03 +0100 Subject: [Perlfect-search] Antwort: perlfect-search digest, Vol 1 #537 - 2 msgs Message-ID: antiword was setup correctly. i switched from pfs 3.30 to 3.31b and it worked correctly. i think antiword was not integrated in pfs correctly before. i just modified conf.pl with doctotext ... and EXT= .....'doc' wolfgang From perlfect-search@perlfect.com Fri Feb 13 09:17:54 2004 From: perlfect-search@perlfect.com (=?iso-8859-1?q?Michael=20Spiess?=) Date: Fri, 13 Feb 2004 10:17:54 +0100 (CET) Subject: [Perlfect-search] results page sometimes broken Message-ID: <20040213091754.72913.qmail@web11502.mail.yahoo.com> Hello! I have a strange problem with showing the results page: Searching for certain keywords is sometimes OK but searching for a lot of others the creation of the search-output breaks (and shoots the layout). http://www.nationalpark.co.at/index.php Look up for "natur": always broken Look up for "park": Sometimes OK, sometimes not(!!) if you press the refresh button (or search again) always different results are displayed - broken at different lines... FYI: I am using 3.31b and the php-wrapper. Conf.cgi File: http://www.nationalpark.co.at/conf.txt http-Indexer-Output: http://www.nationalpark.co.at/indexer_output_20040212.txt Where is the problem? - Thank you for your kind help! Best regards, Michael Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de From perlfect-search@perlfect.com Fri Feb 13 20:24:54 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Fri, 13 Feb 2004 21:24:54 +0100 Subject: [Perlfect-search] results page sometimes broken In-Reply-To: <20040213091754.72913.qmail@web11502.mail.yahoo.com> References: <20040213091754.72913.qmail@web11502.mail.yahoo.com> Message-ID: <200402132124.54342@danielnaber.de> On Friday 13 February 2004 10:17, Michael Spiess wrote: > Look up for "park": Sometimes OK, sometimes not(!!) if > you press the refresh button (or search again) always > different results are displayed - broken at different > lines... That's indeed strange. I assume it works okay without the PHP wrapper? So the problem must be there. You could try increasing the value in this call: fread($file, 100000); If that doesn't help, maybe call flush(); after "print $result;". If even that doesn't help, what version of PHP are you using? Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Sat Feb 14 12:26:49 2004 From: perlfect-search@perlfect.com (fulan@gmx.net) Date: Sat, 14 Feb 2004 13:26:49 +0100 Subject: [Perlfect-search] results page sometimes broken In-Reply-To: <200402132124.54342@danielnaber.de> References: <20040213091754.72913.qmail@web11502.mail.yahoo.com> <200402132124.54342@danielnaber.de> Message-ID: <402E1409.1050705@gmx.net> I remember that I had the same symptoms after my provider updated PHP to version 4.3.2. I eventually managed to solve the problem by replacing fread with the file_get_contents command in the wrapper script (the behaviour of fread is altered in this version of PHP). You also have to remove fopen and fclose, they are not needed for file_get_contents. Maybe that helps for your problem, too. Regards Michael Heim On 13.02.2004 21:24, Daniel Naber wrote: >On Friday 13 February 2004 10:17, Michael Spiess wrote: > > > >>Look up for "park": Sometimes OK, sometimes not(!!) if >>you press the refresh button (or search again) always >>different results are displayed - broken at different >>lines... >> >> > >That's indeed strange. I assume it works okay without the PHP wrapper? >So the problem must be there. You could try increasing the value in this >call: fread($file, 100000); If that doesn't help, maybe call flush(); >after "print $result;". If even that doesn't help, what version of PHP are >you using? > >Regards > Daniel > > > From perlfect-search@perlfect.com Sat Feb 14 17:49:12 2004 From: perlfect-search@perlfect.com (=?iso-8859-1?q?Michael=20Spiess?=) Date: Sat, 14 Feb 2004 18:49:12 +0100 (CET) Subject: [Perlfect-search] results page sometimes broken In-Reply-To: <402E1409.1050705@gmx.net> Message-ID: <20040214174912.58857.qmail@web11503.mail.yahoo.com> Thanks for that hint Michael. file_get_contents($url) was indeed the solution. With yours and Daniel's help everything is OK! Regards, Michael --- "fulan@gmx.net" schrieb: > I remember that I had the same symptoms after my > provider updated PHP to > version 4.3.2. I eventually managed to solve the > problem by replacing > fread with the file_get_contents command in the > wrapper script (the > behaviour of fread is altered in this version of > PHP). You also have to > remove fopen and fclose, they are not needed for > file_get_contents. > Maybe that helps for your problem, too. > > Regards > > Michael Heim > > On 13.02.2004 21:24, Daniel Naber wrote: > > >On Friday 13 February 2004 10:17, Michael Spiess > wrote: > > > > > > > >>Look up for "park": Sometimes OK, sometimes > not(!!) if > >>you press the refresh button (or search again) > always > >>different results are displayed - broken at > different > >>lines... > >> > >> > > > >That's indeed strange. I assume it works okay > without the PHP wrapper? > >So the problem must be there. You could try > increasing the value in this > >call: fread($file, 100000); If that doesn't help, > maybe call flush(); > >after "print $result;". If even that doesn't help, > what version of PHP are > >you using? > > > >Regards > > Daniel > > > > > > > > _______________________________________________ > perlfect-search mailing list > perlfect-search@perlfect.com > To unsubscribe, set other personal options or view > the list archives please visit: > http://perlfect.com/mailman/listinfo/perlfect-search >  Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de From perlfect-search@perlfect.com Mon Feb 16 14:43:36 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Mon, 16 Feb 2004 15:43:36 +0100 Subject: [Perlfect-search] problem including with wildcard Message-ID: i have a problem with "reduced searching". on an appplication portals page i implemted a reduced search function using perlfect search: i want to reduce the search to the applications directory and files ending with _nav.htm. doc root in conf.pl is $DOCUMENT_ROOT = '/var/www/test/'; so i set include=/var/www/test/_arisproto/*_nav.htm as described in the faq. when i search for the string "900" (yes indexing numbers is on), i get no results. when i set include=/var/www/test/_arisproto/ i get 5 results. when i set include=/_arisproto/*_nav.htm i get no results. i cannot resist the impression that "*_nav.htm" is not interpreted as i meant it. so, daniel , please help me gruss wolfgang From perlfect-search@perlfect.com Mon Feb 16 19:46:30 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Mon, 16 Feb 2004 20:46:30 +0100 Subject: [Perlfect-search] problem including with wildcard In-Reply-To: References: Message-ID: <200402162046.30527@danielnaber.de> On Monday 16 February 2004 15:43, Wolfgang.Conzendorf@rcibanque.de wrote: > so i set include=/var/www/test/_arisproto/*_nav.htm as described in the > faq. Just leave out the document root part ("/var/www/test/_arisproto/"). Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Tue Feb 17 12:31:29 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Tue, 17 Feb 2004 13:31:29 +0100 Subject: [Perlfect-search] Antwort: perlfect-search digest, Vol 1 #542 - 1 msg Message-ID: sorry, the test results got mixed up, here the correct version: include=/var/www/test/_arisproto/ no results include=/_arisproto/ 5 results include=/_arisproto/*_nav.htm no results include=/var/www/test/_arisproto/*_nav.htm no results so , i think tere are 2 possibilties: o my code is wrong o include with wildcard does not work correctly wolfgang From perlfect-search@perlfect.com Tue Feb 17 13:51:37 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Tue, 17 Feb 2004 14:51:37 +0100 Subject: [Perlfect-search] Antwort: perlfect-search digest, Vol 1 #542 - 1 msg Message-ID: i have to add one test: include=/*_nav.htm results=2 which means that all files in the site ending _nav.htm are found and not only in the directory /_arisproto/ which is the primary intention. does that mean i canNOT include like include=/var/www/test/_arisproto/*_nav.htm (directory+filemask) ? wolfgang From perlfect-search@perlfect.com Tue Feb 17 21:19:47 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Tue, 17 Feb 2004 22:19:47 +0100 Subject: [Perlfect-search] Antwort: perlfect-search digest, Vol 1 #542 - 1 msg In-Reply-To: References: Message-ID: <200402172219.47959@danielnaber.de> On Tuesday 17 February 2004 13:31, Wolfgang.Conzendorf@rcibanque.de wrote: > include=/_arisproto/*_nav.htm       no results You need to give a real regular expression here, i.e. include=/_arisproto/.*_nav\.htm Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Wed Feb 18 06:04:26 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Wed, 18 Feb 2004 07:04:26 +0100 Subject: [Perlfect-search] Antwort: perlfect-search digest, Vol 1 #543 - 3 msgs Message-ID: thanks daniel, but this does not solve the problem! document root is /var/www/test and i want to include just the files in /var/www/test/_arisproto ending with _nav.htm. when i just leave out the document root i 'll get ALL files ending with _nav.htm , but in this context i need only the ones in _arisproto wolfgang From perlfect-search@perlfect.com Thu Feb 19 19:56:35 2004 From: perlfect-search@perlfect.com (Ahmed Ghazvini) Date: Thu, 19 Feb 2004 11:56:35 -0800 (PST) Subject: [Perlfect-search] Search script problem.....cannot open inv_index file Message-ID: <20040219195635.34248.qmail@web42002.mail.yahoo.com> --0-2032943592-1077220595=:33962 Content-Type: text/plain; charset=us-ascii i installed the script and I ran into two problems: 1. When I go to the search_form.html to enter my password and index my site, it says server 500 error and it isnt even a script! Can you help me see what is wrong?? 2. If I call search.pl from the browser...it says error. withe following comment: Cannot open /home/alqazwin/public_html/cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83. There is no inv_index file!!! Why does it says that and how can I fix that??? My script is at http://alqazwini.org/cgi-bin/search4/search.pl --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-2032943592-1077220595=:33962 Content-Type: text/html; charset=us-ascii
i installed the script and I ran into two problems:
1. When I go to the search_form.html to enter my password and index my site, it says server 500 error and it isnt even a script! Can you help me see what is wrong??
 
2. If I call search.pl from the browser...it says error. withe following comment:  Cannot open /home/alqazwin/public_html/cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83.
There is no inv_index file!!!
Why does it says that and how can I fix that???


Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-2032943592-1077220595=:33962-- From perlfect-search@perlfect.com Thu Feb 19 21:23:00 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Thu, 19 Feb 2004 22:23:00 +0100 Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <20040219195635.34248.qmail@web42002.mail.yahoo.com> References: <20040219195635.34248.qmail@web42002.mail.yahoo.com> Message-ID: <200402192223.00620@danielnaber.de> On Thursday 19 February 2004 20:56, Ahmed Ghazvini wrote: > 1. When I go to the search_form.html to enter my password and index my > site, it says server 500 error and it isnt even a script! Can you help > me see what is wrong?? Please read the FAQ at http://www.perlfect.com/freescripts/search/faq.shtml Make sure the paths in conf.pl are correct and that the indexer.pl script ran until it finished. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Thu Feb 19 22:35:53 2004 From: perlfect-search@perlfect.com (Ahmed Ghazvini) Date: Thu, 19 Feb 2004 14:35:53 -0800 (PST) Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <200402192223.00620@danielnaber.de> Message-ID: <20040219223553.37974.qmail@web42004.mail.yahoo.com> --0-1248166526-1077230153=:37676 Content-Type: text/plain; charset=us-ascii You see the paths in conf.pl are all right, but when I call indexer.pl from my browser...it says: Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in conf.pl). I already set the passowrd in conf.pl but it still tells meto set the password! What can I do to fix this? Daniel Naber wrote: On Thursday 19 February 2004 20:56, Ahmed Ghazvini wrote: > 1. When I go to the search_form.html to enter my password and index my > site, it says server 500 error and it isnt even a script! Can you help > me see what is wrong?? Please read the FAQ at http://www.perlfect.com/freescripts/search/faq.shtml Make sure the paths in conf.pl are correct and that the indexer.pl script ran until it finished. Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1248166526-1077230153=:37676 Content-Type: text/html; charset=us-ascii
You see the paths in conf.pl are all right,  but when I call indexer.pl from my browser...it says:
Error: Access denied, invalid password
(set $INDEXER_CGI_PASSWORD in conf.pl).
I already set the passowrd in conf.pl but it still tells meto set the password!  What can I do to fix this?

Daniel Naber <daniel.naber@t-online.de> wrote:
On Thursday 19 February 2004 20:56, Ahmed Ghazvini wrote:

> 1. When I go to the search_form.html to enter my password and index my
> site, it says server 500 error and it isnt even a script! Can you help
> me see what is wrong??

Please read the FAQ at
http://www.perlfect.com/freescripts/search/faq.shtml

Make sure the paths in conf.pl are correct and that the indexer.pl script
ran until it finished.

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1248166526-1077230153=:37676-- From perlfect-search@perlfect.com Thu Feb 19 23:28:20 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Fri, 20 Feb 2004 00:28:20 +0100 Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <20040219223553.37974.qmail@web42004.mail.yahoo.com> References: <20040219223553.37974.qmail@web42004.mail.yahoo.com> Message-ID: <200402200028.21902@danielnaber.de> On Thursday 19 February 2004 23:35, Ahmed Ghazvini wrote: > Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in > conf.pl). You have to call it via index_form.html. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Fri Feb 20 02:10:31 2004 From: perlfect-search@perlfect.com (Ahmed Ghazvini) Date: Thu, 19 Feb 2004 18:10:31 -0800 (PST) Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <200402200028.21902@danielnaber.de> Message-ID: <20040220021031.93789.qmail@web42006.mail.yahoo.com> --0-1738816228-1077243031=:90009 Content-Type: text/plain; charset=us-ascii When I call it via index_form it says 500 server error...I read the Faqs you told mt o read...but I couldnt find the answer...must have missed it I guesss. Can you tell me why this is happening or the possible reasons? Daniel Naber wrote: On Thursday 19 February 2004 23:35, Ahmed Ghazvini wrote: > Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in > conf.pl). You have to call it via index_form.html. Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1738816228-1077243031=:90009 Content-Type: text/html; charset=us-ascii
When I call it via index_form it says 500 server error...I read the Faqs you told mt o read...but I couldnt find the answer...must have missed it I guesss.
Can you tell me why this is happening or the possible reasons?

Daniel Naber <daniel.naber@t-online.de> wrote:
On Thursday 19 February 2004 23:35, Ahmed Ghazvini wrote:

> Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in
> conf.pl).

You have to call it via index_form.html.

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1738816228-1077243031=:90009-- From perlfect-search@perlfect.com Fri Feb 20 08:26:37 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Fri, 20 Feb 2004 09:26:37 +0100 Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <20040220021031.93789.qmail@web42006.mail.yahoo.com> References: <20040220021031.93789.qmail@web42006.mail.yahoo.com> Message-ID: <200402200926.37435@danielnaber.de> On Friday 20 February 2004 03:10, Ahmed Ghazvini wrote: > When I call it via index_form it says 500 server error...I read the Faqs > you told mt o read...but I couldnt find the answer...must have missed it > I guesss. Can you tell me why this is happening or the possible reasons? The possible reasons are listed here (for search.pl, but it's mostly the same for indexer.pl): http://www.perlfect.com/freescripts/search/faq.shtml#T9 You will need to look in the server's error log, as the answer suggests. There's no other way to find out the reason if one only gets a "500 server error". Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Fri Feb 20 17:31:39 2004 From: perlfect-search@perlfect.com (Ahmed Ghazvini) Date: Fri, 20 Feb 2004 09:31:39 -0800 (PST) Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <200402200926.37435@danielnaber.de> Message-ID: <20040220173139.20297.qmail@web42004.mail.yahoo.com> --0-1530146447-1077298299=:20099 Content-Type: text/plain; charset=us-ascii Yes, I know the problem with search.pl is that when I call it...it says: ...cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83. There is no data directory or inv_index file that I was supposed to create or upload..why does it say that? Daniel Naber wrote: On Friday 20 February 2004 03:10, Ahmed Ghazvini wrote: > When I call it via index_form it says 500 server error...I read the Faqs > you told mt o read...but I couldnt find the answer...must have missed it > I guesss. Can you tell me why this is happening or the possible reasons? The possible reasons are listed here (for search.pl, but it's mostly the same for indexer.pl): http://www.perlfect.com/freescripts/search/faq.shtml#T9 You will need to look in the server's error log, as the answer suggests. There's no other way to find out the reason if one only gets a "500 server error". Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1530146447-1077298299=:20099 Content-Type: text/html; charset=us-ascii
Yes, I know the problem with search.pl is that when I call it...it says:
...cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83.
 
There is no data directory or inv_index file that I was supposed to create or upload..why does it say that?
Daniel Naber <daniel.naber@t-online.de> wrote:
On Friday 20 February 2004 03:10, Ahmed Ghazvini wrote:

> When I call it via index_form it says 500 server error...I read the Faqs
> you told mt o read...but I couldnt find the answer...must have missed it
> I guesss. Can you tell me why this is happening or the possible reasons?

The possible reasons are listed here (for search.pl, but it's mostly the
same for indexer.pl):
http://www.perlfect.com/freescripts/search/faq.shtml#T9

You will need to look in the server's error log, as the answer suggests.
There's no other way to find out the reason if one only gets a "500 server
error".

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1530146447-1077298299=:20099-- From perlfect-search@perlfect.com Fri Feb 20 18:56:32 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Fri, 20 Feb 2004 19:56:32 +0100 Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <20040220173139.20297.qmail@web42004.mail.yahoo.com> References: <20040220173139.20297.qmail@web42004.mail.yahoo.com> Message-ID: <200402201956.32887@danielnaber.de> On Friday 20 February 2004 18:31, Ahmed Ghazvini wrote: > There is no data directory or inv_index file that I was supposed to > create or upload..why does it say that? Because you first have to build the index with indexer.pl... Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Fri Feb 20 20:17:11 2004 From: perlfect-search@perlfect.com (Ahmed Ghazvini) Date: Fri, 20 Feb 2004 12:17:11 -0800 (PST) Subject: [Perlfect-search] Search script problem.....cannot open inv_index file In-Reply-To: <200402201956.32887@danielnaber.de> Message-ID: <20040220201711.95105.qmail@web42004.mail.yahoo.com> --0-807932804-1077308231=:93528 Content-Type: text/plain; charset=us-ascii It seems like you are leading me into a circle: I first told you: When I call indexer.pl, it says: Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in conf.pl). Than you said: You have to call it via index_form.html. Than I said: index_form doesnt work....it says server 500 error because search.pl says the following error: cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83. Than you said: There are many reasons for this I said: The reason is because a directory or file is missing So you said: You have to build the index with indexer.pl So we are back where we started because I already told you when i call indexer.pl, it tells me error must set password, and when i call index_form it says server 500, and search.pl says im missing a file! Its getting confusing so I hope you understand what i was trying to say Daniel Naber wrote: On Friday 20 February 2004 18:31, Ahmed Ghazvini wrote: > There is no data directory or inv_index file that I was supposed to > create or upload..why does it say that? Because you first have to build the index with indexer.pl... Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-807932804-1077308231=:93528 Content-Type: text/html; charset=us-ascii
It seems like you are leading me into a circle:
I first told you:
When I call indexer.pl, it says:
 Error: Access denied, invalid password(set $INDEXER_CGI_PASSWORD in
 conf.pl).
Than you said:
You have to call it via index_form.html.
Than I said:
index_form doesnt work....it says server 500 error because search.pl says the following error: cgi-bin/search/data/inv_index: No such file or directory at search.pl line 83.
Than you said:
There are many reasons for this
I said:
The reason is because a directory or file is missing
So you said:
You have to build the index with indexer.pl
 
So we are back where we started because I already told you when i call indexer.pl, it tells me error must set password, and when i call index_form it says server 500, and search.pl says im missing a file!
Its getting confusing so I hope you understand what i was trying to say
 
 



Daniel Naber <daniel.naber@t-online.de> wrote:
On Friday 20 February 2004 18:31, Ahmed Ghazvini wrote:

> There is no data directory or inv_index file that I was supposed to
> create or upload..why does it say that?

Because you first have to build the index with indexer.pl...

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-807932804-1077308231=:93528-- From perlfect-search@perlfect.com Sun Feb 22 17:21:08 2004 From: perlfect-search@perlfect.com (Cyberpump!) Date: Sun, 22 Feb 2004 11:21:08 -0600 Subject: [Perlfect-search] Password Protected Area? Message-ID: <00b001c3f968$441afc00$0200a8c0@cyberpump2> Simple question: Will the indexer index a password protected area? I've seen other search engines use a string in their config file to specify a username/password combo for the search engine so it has access to index. Thanks! From perlfect-search@perlfect.com Sun Feb 22 18:10:23 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Sun, 22 Feb 2004 19:10:23 +0100 Subject: [Perlfect-search] Password Protected Area? In-Reply-To: <00b001c3f968$441afc00$0200a8c0@cyberpump2> References: <00b001c3f968$441afc00$0200a8c0@cyberpump2> Message-ID: <200402221910.23149@danielnaber.de> On Sunday 22 February 2004 18:21, Cyberpump! wrote: > Simple question: Will the indexer index a password protected area? If you index the file system: yes. If you index via http (i.e. if $HTTP_START_URL is set): no. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Sun Feb 22 18:37:11 2004 From: perlfect-search@perlfect.com (Cyberpump!) Date: Sun, 22 Feb 2004 12:37:11 -0600 Subject: [Perlfect-search] Re: Password Protected Dir Message-ID: <00ff01c3f972$e3a70e30$0200a8c0@cyberpump2> Can I just set BASE_URL with this syntax: From perlfect-search@perlfect.com Sun Feb 22 18:38:15 2004 From: perlfect-search@perlfect.com (Cyberpump!) Date: Sun, 22 Feb 2004 12:38:15 -0600 Subject: [Perlfect-search] Re: Indexing Password Protected Dir Message-ID: <011301c3f973$09db0610$0200a8c0@cyberpump2> Can I just set BASE_URL with this syntax: http://user:password@www.yoursite.com From perlfect-search@perlfect.com Sun Feb 22 19:24:48 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Sun, 22 Feb 2004 20:24:48 +0100 Subject: [Perlfect-search] Re: Indexing Password Protected Dir In-Reply-To: <011301c3f973$09db0610$0200a8c0@cyberpump2> References: <011301c3f973$09db0610$0200a8c0@cyberpump2> Message-ID: <200402222024.48766@danielnaber.de> On Sunday 22 February 2004 19:38, Cyberpump! wrote: > Can I just set BASE_URL with this syntax: > > http://user:password@www.yoursite.com I don't think so. You will need to modify the get_url() function in tools.pl so that the username/password gets transmitted. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Tue Feb 24 00:09:08 2004 From: perlfect-search@perlfect.com (Rasool Al) Date: Mon, 23 Feb 2004 16:09:08 -0800 (PST) Subject: [Perlfect-search] My script wont index Message-ID: <20040224000908.14828.qmail@web20910.mail.yahoo.com> --0-1758312586-1077581348=:12715 Content-Type: text/plain; charset=us-ascii Hello I installed perlfect search script but when i go to index my site on idex_form.html i put my password... then it just says: Using DB_File... Checking for old temp files... it just says that and nothing happens...i left the computer on for ONE HOUR and it still says that...so its not indexing my site...and my site is so small....so i dont know why it takes so long!!! Can anyone help me see why it wont index my site???????????? --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1758312586-1077581348=:12715 Content-Type: text/html; charset=us-ascii
Hello
I installed perlfect search script
but when i go to index my site on idex_form.html
i put my password...
then it just says:
 
Using DB_File...
Checking for old temp files...

it just says that and nothing happens...i left the computer on for ONE HOUR and it still says that...so its not indexing my site...and my site is so small....so i dont know why it takes so long!!!
Can anyone help me see why it wont index my site????????????


Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1758312586-1077581348=:12715-- From perlfect-search@perlfect.com Tue Feb 24 15:09:17 2004 From: perlfect-search@perlfect.com (perlfect-search@perlfect.com) Date: Tue, 24 Feb 2004 10:09:17 -0500 Subject: [Perlfect-search] RE: Highlight Results For PHP File Extensions ... Message-ID: <001e01c3fae8$2f3c8d40$6601a8c0@Toshiba5105> This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C3FABE.46668540 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I've just installed Perlfect Search 3.31b and everything seems to be working as expected (thanks!) except for the 'highlight matches' feature for files that have an extension like ".php?whatever=whatever". It's not a question of the pages being garbled - the 'highlight matches' link simply doesn't appear for the associated listings on the results page. The necessary parameters are set (properly, I think!) in my conf.pl file : $HIGHLIGHT_MATCHES = 1; @HIGHLIGHT_EXT = ("html", "htm", "php"); >From searching the archives I found a posting dated March 24, 2003 (see below) that indicates this to be a known problem and that a new version of tools.pl will fix it . unfortunately the link in that message to download the new file doesn't work and returns a 404 error. Is there some other way that I can get this file? Please advise / thanks in advance, Stuart - - - - - - - - - - - - - - - - - - - - - - - - - - - - Excerpt from archives : On Monday 24 March 2003 13:33, Michael Spiess wrote: > But with the new version 3.31b the "highlight match" is not any more > displayed for the URLs who have a ?-suffix e.g. /dir/myfile.php?navid=1 This is fixed now, please get the latest version of tools.pl: http://www.perlfect.com/cgi-bin/cvsweb.cgi/search/tools.pl Regards Daniel ------=_NextPart_000_001F_01C3FABE.46668540 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

I’ve just installed Perlfect Search 3.31b and everything seems to be working as expected (thanks!) except for the ‘highlight matches’ feature for files that have an extension = like “.php?whatever=3Dwhatever”.  It’s not a question of the pages being garbled – the ‘highlight matches’ link simply doesn’t appear for the associated listings on the results page.

 

The necessary parameters are set (properly, I think!) = in my conf.pl file :

 

$HIGHLIGHT_MATCHES =3D 1; =

 

@HIGHLIGHT_EXT =3D ("html", = "htm", "php");

 

From searching the archives I found a posting dated = March 24, 2003 (see below) that indicates this to be a known problem and that = a new version of tools.pl will fix it … unfortunately the link in that = message to download the new file doesn’t work and returns a 404 = error.  Is there some other way that I = can get this file?

 

Please advise / thanks in = advance,

 

 

Stuart

- - - - - - - - - - - - - - - - - - = - - - - - - - - - -

 =

Excerpt from archives : =

 

On Monday 24 March 2003 13:33, Michael Spiess =
wrote:
 
> But =
with the new version 3.31b the "highlight match" is not any =
more
> =
displayed for the URLs who have a ?-suffix e.g. =
/dir/myfile.php?navid=3D1
 
This is fixed now, please get the latest =
version of tools.pl:
http:=
//www.perlfect.com/cgi-bin/cvsweb.cgi/search/tools.pl
 
Regards
 Daniel

 

------=_NextPart_000_001F_01C3FABE.46668540-- From perlfect-search@perlfect.com Tue Feb 24 16:20:02 2004 From: perlfect-search@perlfect.com (=?iso-8859-1?q?Michael=20Spiess?=) Date: Tue, 24 Feb 2004 17:20:02 +0100 (CET) Subject: [Perlfect-search] RE: Highlight Results For PHP File Extensions ... In-Reply-To: <001e01c3fae8$2f3c8d40$6601a8c0@Toshiba5105> Message-ID: <20040224162002.79262.qmail@web11506.mail.yahoo.com> Hello Stuart, I will send you this file with a personal mail. It works perfect for me. Regards, Michael Spiess --- stuart@alpensys.com schrieb: > I've just installed Perlfect Search 3.31b and > everything seems to be > working as expected (thanks!) except for the > 'highlight matches' feature > for files that have an extension like > ".php?whatever=whatever". It's > not a question of the pages being garbled - the > 'highlight matches' link > simply doesn't appear for the associated listings on > the results page. > > The necessary parameters are set (properly, I > think!) in my conf.pl file > : > > $HIGHLIGHT_MATCHES = 1; > > @HIGHLIGHT_EXT = ("html", "htm", "php"); > > From searching the archives I found a posting dated > March 24, 2003 (see > below) that indicates this to be a known problem and > that a new version > of tools.pl will fix it . unfortunately the link in > that message to > download the new file doesn't work and returns a 404 > error. Is there > some other way that I can get this file? > > Please advise / thanks in advance, > > > Stuart > - - - - - - - - - - - - - - - - - - - - - - - - - - > - - > > Excerpt from archives : > > On Monday 24 March 2003 13:33, Michael Spiess wrote: > > > But with the new version 3.31b the "highlight > match" is not any more > > displayed for the URLs who have a ?-suffix e.g. > /dir/myfile.php?navid=1 > > This is fixed now, please get the latest version of > tools.pl: > http://www.perlfect.com/cgi-bin/cvsweb.cgi/search/tools.pl > > Regards > Daniel > > Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de From perlfect-search@perlfect.com Tue Feb 24 17:49:26 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Tue, 24 Feb 2004 18:49:26 +0100 Subject: [Perlfect-search] RE: Highlight Results For PHP File Extensions ... In-Reply-To: <001e01c3fae8$2f3c8d40$6601a8c0@Toshiba5105> References: <001e01c3fae8$2f3c8d40$6601a8c0@Toshiba5105> Message-ID: <200402241849.27094@danielnaber.de> On Tuesday 24 February 2004 16:09, stuart@alpensys.com wrote: > unfortunately the link in that message to > download the new file doesn't work and returns a 404 error. The latest version is also available here: http://www.danielnaber.de/perlfectsearch/cvs.php Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Tue Feb 24 18:10:52 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Tue, 24 Feb 2004 19:10:52 +0100 Subject: [Perlfect-search] My script wont index In-Reply-To: <20040224000908.14828.qmail@web20910.mail.yahoo.com> References: <20040224000908.14828.qmail@web20910.mail.yahoo.com> Message-ID: <200402241910.52505@danielnaber.de> On Tuesday 24 February 2004 01:09, Rasool Al wrote: > Using DB_File... > Checking for old temp files... Are there any files in Perlfect's "data" directory? If so, try removing them and re-index. Make sure the webserver has write access to the "data" directory. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Tue Feb 24 20:00:37 2004 From: perlfect-search@perlfect.com (Rasool Al) Date: Tue, 24 Feb 2004 12:00:37 -0800 (PST) Subject: [Perlfect-search] My script wont index In-Reply-To: <200402241910.52505@danielnaber.de> Message-ID: <20040224200037.23540.qmail@web20903.mail.yahoo.com> --0-1817607295-1077652837=:23326 Content-Type: text/plain; charset=us-ascii if you mean by "data" the directory that isnt in the cgi-bin....then the only file in it is index_form.html....so there isnt anything to delete. For access to write, is that 777 or 755? Daniel Naber wrote:On Tuesday 24 February 2004 01:09, Rasool Al wrote: > Using DB_File... > Checking for old temp files... Are there any files in Perlfect's "data" directory? If so, try removing them and re-index. Make sure the webserver has write access to the "data" directory. Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1817607295-1077652837=:23326 Content-Type: text/html; charset=us-ascii
if you mean by "data" the directory that isnt in the cgi-bin....then the only file in it is index_form.html....so there isnt anything to delete. For access to write, is that 777 or 755?

Daniel Naber <daniel.naber@t-online.de> wrote:
On Tuesday 24 February 2004 01:09, Rasool Al wrote:

> Using DB_File...
> Checking for old temp files...

Are there any files in Perlfect's "data" directory? If so, try removing
them and re-index. Make sure the webserver has write access to the "data"
directory.

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1817607295-1077652837=:23326-- From perlfect-search@perlfect.com Tue Feb 24 21:39:34 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Tue, 24 Feb 2004 22:39:34 +0100 Subject: [Perlfect-search] My script wont index In-Reply-To: <20040224200037.23540.qmail@web20903.mail.yahoo.com> References: <20040224200037.23540.qmail@web20903.mail.yahoo.com> Message-ID: <200402242239.34144@danielnaber.de> On Tuesday 24 February 2004 21:00, Rasool Al wrote: > if you mean by "data" the directory that isnt in the cgi-bin....then the > only file in it is index_form.html....so there isnt anything to delete. I mean the one in the "search" directory, which again is in the cgi-bin directory. "search" also contains search.pl, and the "data" directory I'm talking about. If "data" contains a html file, something is messed up. > For access to write, is that 777 or 755? Depends on your server setup, try both if needed. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Wed Feb 25 15:33:46 2004 From: perlfect-search@perlfect.com (Michael Borck) Date: Wed, 25 Feb 2004 23:33:46 +0800 Subject: [Perlfect-search] Dynamic Page (PHP pages) Indexing Problems Message-ID: <0028CD68-67A8-11D8-B1BE-000A9587472A@computing.edu.au> Hi All, I had a perlfect working. Then moved the site from predomintly .shtml pages to .php pages. Now because they are php pages and I don't really want all the "code" to be indexed(highlight matches etc) I need to set $HTTP_START_URL Now I am having two problems, potentially related, with indexing as follows: 1. Command line indexing causes a permissions error 2. index_form.html solves permissions problem but index zero (0) files 3. modify $START_URL to further up the tree, index html files but not PHP Can any one help? The long winded version of the problems follows apologies for the length but I am at a loss wht to do. I have tried to index via the following methods Index from the command line: /usr/bin/perl indexer.pl Using index_form.html (action modified to suit local perlfect install) If I use the command line to index, when I search, I get the following error regardles if I set the $START_URL (causing it to retrieve dynamic pages) or unset causing it to index via the filesystem: Software error: Cannot open /usr/data/slash/Curtin/units/ec100/cgi_bin/perlfect/search/data/ inv_index: Permission denied at /usr/apache+ssl/htdocs/www.computing.edu.au/units/ec100/cgi_bin/ perlfect/search/search.cgi line 76. If I index via index_form.html I do not get the error. I get the following output. Loading https://www.computing.edu.au/robots.txt... Error: Couldn't get 'https://www.computing.edu.au/robots.txt': response code 501 [Wed Feb 25 22:47:18 2004] indexer.cgi: Not using any robots.txt. Warning: cannot remove '/usr/data/slash/Curtin/units/ec100/' from 'https://www.computing.edu.au/units/ec100/' [Wed Feb 25 22:47:18 2004] indexer.cgi: Use of uninitialized value in pattern match (m//) at ./indexer.cgi line 568. [Wed Feb 25 22:47:18 2004] indexer.cgi: Use of uninitialized value in concatenation (.) or string at ./indexer.cgi line 569. Error: Couldn't get 'https://www.computing.edu.au/units/ec100/': response code 500 Crawler finished: indexed 0 files, 0 terms (0 different terms). etc.... I can now use search_form.html successfully, no error obviously finding nothing. Now I have not changed conf.pl, just the method of indexing. When I look in the $PERLFECT_HOME/data I observe all files are 755 and owner/group nobody. Try command line again, change permission and owner to match, still get "Software error:...." ummm strange, oh well indexing via cgi, although less secure looks more promising. Umm "index 0 files" and "response code 500". I suspect this is me confusing $DOCUMENT_ROOT, $BASE_URL and $START_URL. I call the techos to have a look at the server logs and they mention something about robots.txt (umm sort guessed that). I ask if they had anything installed to block spiders/crawler etc, none. So I comment out the $ROBOT_AGENT (ignoring the comment and "really know what you are doing") and get the following error: Warning: cannot remove '/usr/data/slash/Curtin/units/ec100/' from 'https://www.computing.edu.au/units/ec100/' [Wed Feb 25 23:03:47 2004] indexer.cgi: Use of uninitialized value in pattern match (m//) at ./indexer.cgi line 568. [Wed Feb 25 23:03:47 2004] indexer.cgi: Use of uninitialized value in concatenation (.) or string at ./indexer.cgi line 569. Error: Couldn't get 'https://www.computing.edu.au/units/ec100/': response code 501 Okay, lets have a play around with the $DOCUMENT_ROOT, $BASE_URL, $START_URL. Now I look after all web pages under the main site. Our home page is: https://www.computing.edu.au/ I maintain https://www.computing.edu/units/ec100/ I only want to index pages in my area. Now after various combinations the only one that will index pages is setting the $START_URL to: http://www.computing.edu.au/ The values of the other variables does not seem to affect the indexer, and also notice the protocol has changed from https:// to http:// This still only index html files (regardless of setting in conf.pl). I have tried making my start page a html file (rather than a php) still no luck. Getting rather desperate now suspect it might be a missing library (response code 501 -- service not provided). Checking back on the perlfect website, and downloading a useful little utility wpm.pl (Where is Perl Module) it looks like the LWP::libwww-perl is not installed. Did I mention that I do not have root access. So I install the module in $PERLFECT_HOME and add the following line to search.cgi, indexer.cgi and indexer_web.cgi (I also modified the file to require .cgi and not .pl file). use lib 'lib/perl5/site_perl/5.8.1'; print "\@INC is @INC\n"; The path looks okay but still no luck indexing dynamic pages. Can anyone help? Michael. -- From perlfect-search@perlfect.com Wed Feb 25 19:24:52 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Wed, 25 Feb 2004 20:24:52 +0100 Subject: [Perlfect-search] Dynamic Page (PHP pages) Indexing Problems In-Reply-To: <0028CD68-67A8-11D8-B1BE-000A9587472A@computing.edu.au> References: <0028CD68-67A8-11D8-B1BE-000A9587472A@computing.edu.au> Message-ID: <200402252024.52625@danielnaber.de> On Wednesday 25 February 2004 16:33, Michael Borck wrote: > Error: Couldn't get 'https://www.computing.edu.au/units/ec100/':   > response code 500 Michael, that page does not only use https (of which I'm not sure if the module we use supports it), but also asks for a password here. So it can't be indexed automatically. About the permission error when indexing on the command line: 755 is okay, but who is the owner of the files? Probably not you, because the owner was set to someone else when you indexed via index_form.html. So I suggest to delete all files in the "data" directory on the command line and try again (from the command line). BTW, depending on how you use PHP it might make sense to index the filesystem and "comment out" the PHP code with the snippets configured in $IGNORE_TEXT_START and $IGNORE_TEXT_END in conf.pl. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Wed Feb 25 20:45:29 2004 From: perlfect-search@perlfect.com (Rasool Al) Date: Wed, 25 Feb 2004 12:45:29 -0800 (PST) Subject: [Perlfect-search] My script wont index In-Reply-To: <200402242239.34144@danielnaber.de> Message-ID: <20040225204529.11799.qmail@web20902.mail.yahoo.com> --0-1968153645-1077741929=:8622 Content-Type: text/plain; charset=us-ascii i see the problem...there is no "data" directory in my "search" directory...all the files i uploaded are in the search directory....should I create a data directory in the search directory? Daniel Naber wrote:On Tuesday 24 February 2004 21:00, Rasool Al wrote: > if you mean by "data" the directory that isnt in the cgi-bin....then the > only file in it is index_form.html....so there isnt anything to delete. I mean the one in the "search" directory, which again is in the cgi-bin directory. "search" also contains search.pl, and the "data" directory I'm talking about. If "data" contains a html file, something is messed up. > For access to write, is that 777 or 755? Depends on your server setup, try both if needed. Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-1968153645-1077741929=:8622 Content-Type: text/html; charset=us-ascii
i see the problem...there is no "data" directory in my "search" directory...all the files i uploaded are in the search directory....should I create a data directory in the search directory?

Daniel Naber <daniel.naber@t-online.de> wrote:
On Tuesday 24 February 2004 21:00, Rasool Al wrote:

> if you mean by "data" the directory that isnt in the cgi-bin....then the
> only file in it is index_form.html....so there isnt anything to delete.

I mean the one in the "search" directory, which again is in the cgi-bin
directory. "search" also contains search.pl, and the "data" directory I'm
talking about. If "data" contains a html file, something is messed up.

> For access to write, is that 777 or 755?

Depends on your server setup, try both if needed.

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-1968153645-1077741929=:8622-- From perlfect-search@perlfect.com Wed Feb 25 21:04:15 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Wed, 25 Feb 2004 22:04:15 +0100 Subject: [Perlfect-search] My script wont index In-Reply-To: <20040225204529.11799.qmail@web20902.mail.yahoo.com> References: <20040225204529.11799.qmail@web20902.mail.yahoo.com> Message-ID: <200402252204.15403@danielnaber.de> On Wednesday 25 February 2004 21:45, Rasool Al wrote: > i see the problem...there is no "data" directory in my "search" > directory...all the files i uploaded are in the search > directory....should I create a data directory in the search directory? That won't help, other subdirectories are required. If you unzip the original Perlfect Search zip or tgz file, the directories will be there. Just upload the complete "search-3.31b" directory, including all files and subdirectories. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Thu Feb 26 00:16:22 2004 From: perlfect-search@perlfect.com (Rasool Al) Date: Wed, 25 Feb 2004 16:16:22 -0800 (PST) Subject: [Perlfect-search] My script wont index In-Reply-To: <200402252204.15403@danielnaber.de> Message-ID: <20040226001622.77537.qmail@web20907.mail.yahoo.com> --0-895371565-1077754582=:76442 Content-Type: text/plain; charset=us-ascii ok i will try that...thanks Daniel Naber wrote:On Wednesday 25 February 2004 21:45, Rasool Al wrote: > i see the problem...there is no "data" directory in my "search" > directory...all the files i uploaded are in the search > directory....should I create a data directory in the search directory? That won't help, other subdirectories are required. If you unzip the original Perlfect Search zip or tgz file, the directories will be there. Just upload the complete "search-3.31b" directory, including all files and subdirectories. Regards Daniel -- http://www.danielnaber.de _______________________________________________ perlfect-search mailing list perlfect-search@perlfect.com To unsubscribe, set other personal options or view the list archives please visit: http://perlfect.com/mailman/listinfo/perlfect-search  --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. --0-895371565-1077754582=:76442 Content-Type: text/html; charset=us-ascii
ok i will try that...thanks

Daniel Naber <daniel.naber@t-online.de> wrote:
On Wednesday 25 February 2004 21:45, Rasool Al wrote:

> i see the problem...there is no "data" directory in my "search"
> directory...all the files i uploaded are in the search
> directory....should I create a data directory in the search directory?

That won't help, other subdirectories are required. If you unzip the
original Perlfect Search zip or tgz file, the directories will be there.
Just upload the complete "search-3.31b" directory, including all files and
subdirectories.

Regards
Daniel

--
http://www.danielnaber.de
_______________________________________________
perlfect-search mailing list
perlfect-search@perlfect.com
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search



Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want. --0-895371565-1077754582=:76442-- From perlfect-search@perlfect.com Thu Feb 26 04:14:33 2004 From: perlfect-search@perlfect.com (Michael Borck) Date: Thu, 26 Feb 2004 12:14:33 +0800 Subject: [Perlfect-search] Dynamic Page (PHP pages) Indexing Problems In-Reply-To: <200402252024.52625@danielnaber.de> References: <0028CD68-67A8-11D8-B1BE-000A9587472A@computing.edu.au> <200402252024.52625@danielnaber.de> Message-ID: <47FFFA1C-6812-11D8-927F-000A9587472A@computing.edu.au> Hi Daniel, Thanks for the quick response. I have tried your suggestions but still have problems with search.cgi open the data files. I have provided more detail below. > that page does not only use https (of which I'm not sure if the module > we > use supports it), but also asks for a password here. So it can't be > indexed automatically. About the permission error when indexing on the I forgot to mention that machine with the domain are not prompted for a password, but I guess the protocol is sufficiently different that it is causing the error. I tried to install Crypt::SSLeary (which is apparent SSL glue) automatically invoke/loaded by LWP but it didn't work for me (and I have reached my limit of knowledge). So I am back to solving the file system "cannot open" problem. > command line: 755 is okay, but who is the owner of the files? Probably > not > you, because the owner was set to someone else when you indexed via > index_form.html. So I suggest to delete all files in the "data" > directory > on the command line and try again (from the command line). Prior to index via the filesystem I deleted all the files in data. I then run the indexer, and manually chmod 755 all the file. I have even tried chmod 777. Still no luck. I get the "Cannot open error". I should also mention the when I index via the file system it will index the site (a huge 293 files). The funny thing is that when I index via index_form.html, the file permissions are 755 and owned by "nobody". The search.cgi will procced and find nothing because it index 0 pages (because we use the https:). As mentioned in previous posts, after indexing via the filesystem, I manually chown the files to nobody, and chmod them all to 755 (even tried 777) but still no luck. > BTW, depending on how you use PHP it might make sense to index the > filesystem and "comment out" the PHP code with the snippets configured > in > $IGNORE_TEXT_START and $IGNORE_TEXT_END in conf.pl. I would prefer to index via the file system. The dynamic PHP content is not critical to search. I have "commented out" potentially sensitive information and added entries to conf/no_index.txt. I was only looking at doing this via cgi because of the problems I was having with opening the data/inv_index file. I have spoken to the techos who are have assured me that the path exists on the server. I have provided them the details of the script and error and they have promised to investigate. I can't help but feel that it is a configuration error on my part as I had perlfect working out of the box and moved most of my pages over to php. I cannot see how changing to php would cause any errors. But to be safe/cautions I deleted the Perlfect install and did a clean install. Still no luck. If you can think of anything that might help or need more info please let me know. I will continue to investigate my end. Thanks again for your help. Michael. -- From perlfect-search@perlfect.com Thu Feb 26 21:19:45 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Thu, 26 Feb 2004 22:19:45 +0100 Subject: [Perlfect-search] Dynamic Page (PHP pages) Indexing Problems In-Reply-To: <47FFFA1C-6812-11D8-927F-000A9587472A@computing.edu.au> References: <0028CD68-67A8-11D8-B1BE-000A9587472A@computing.edu.au> <200402252024.52625@danielnaber.de> <47FFFA1C-6812-11D8-927F-000A9587472A@computing.edu.au> Message-ID: <200402262219.45959@danielnaber.de> On Thursday 26 February 2004 05:14, Michael Borck wrote: >  I have even > tried chmod 777.  Still no luck.  I get the "Cannot open error". Michael, did you also set the directory's permissions to 777? Setting the files' permissions will not be enough. Regards Daniel -- http://www.danielnaber.de From perlfect-search@perlfect.com Sun Feb 29 01:51:04 2004 From: perlfect-search@perlfect.com (Cyberpump!) Date: Sat, 28 Feb 2004 19:51:04 -0600 Subject: [Perlfect-search] Indexing Speed Message-ID: <01a701c3fe66$7f190010$fda2c683@cyberpump2> I just installed it. Started running the indexer. It was talking MINUTES to index 70k files. With the size of my site, it would take a LONG time to index. Is this normal? Thanks. From perlfect-search@perlfect.com Sun Feb 29 11:04:12 2004 From: perlfect-search@perlfect.com (Daniel Naber) Date: Sun, 29 Feb 2004 12:04:12 +0100 Subject: [Perlfect-search] Indexing Speed In-Reply-To: <01a701c3fe66$7f190010$fda2c683@cyberpump2> References: <01a701c3fe66$7f190010$fda2c683@cyberpump2> Message-ID: <200402291204.13182@danielnaber.de> On Sunday 29 February 2004 02:51, Cyberpump! wrote: > Started running the indexer. It was talking MINUTES to index 70k files. > With the size of my site, it would take a LONG time to index. Is this > normal? Indexing and searching speed obviously depends on many factors. I can index 2700 HTML files (average size 6kB) in 85 seconds (1,5 Ghz Pentium M, 512 MB RAM, no other processes using CPU). Regards Daniel -- http://www.danielnaber.de