-
website search
Hi guys, I was wondering if someone could point me in the right direction...
I have the task ahead of me of setting up a search engine that can be used by the employees of our company to search the content of our site.
The site is sort of medium-sized, but it's getting to the point I need to add something to it so that our users can find info on it.
any suggestions are welcome.
thanks
Linux user #367409
-
Hey,
Could you give us any more info about your companys site? I would guess the content is grabbed from a DB of some sort?
If you haven't got the time / resources to knock something together inhouse, a quick Google brought back these:
http://www.sphider.eu/
http://risearch.org/eng/risearch_php/index.html
-
You can create a custom google search box that defines searching only in your domain...
Of course, that means that google has to spider your domain...
-
I was under the impression that it was a intranet site...if not the custom Google search would probably be the easiest
-
You're absolutely right, it's strictly intranet; it would be impossible for Google to spider it, so a Google search engine is out of the question.
The server itself runs on ubuntu (but we're soon changing it to Debian stable)
and it's a simple site with just content, all done in html and php. There is no db functionality at this time, I haven't implemented mysql to do anything ... yet.
I've just started looking at this ... can any of you make a recomendation?
Linux user #367409
-
Grep for Windows comes to my mind....HERE
Last edited by JohnT; 09-21-2009 at 04:47 PM.
-
JohnT, you always tell me to do things the hard way! :P
Linux user #367409
-
OK, if it is plain text stuff (html, php, txt, etc) then SimpleSearch may do it for you. Intensive, 'cause it basically runs a recursive grep, but it works.
You could also write your own - I did one years ago for the archive of an email listserv I created, worked well.
-
Originally Posted by infiniphunk
JohnT, you always tell me to do things the hard way! :P
I reverse engineer everything
-
rats!@
just tried Simple search and after setting it up i get:
error 405
"Method Not Allowed
The requested method POST is not allowed for the URL /search/search.pl."
this I am just testing on my server at home which is openbsd ... I wonder if it's this confounded chrooted apache business. or something else I have to change in /var/www/conf/httpd.conf ?
Linux user #367409
-
This should keep you busy for awhile
http://www.searchtools.com/
If not here are several thousand to choose from....have fun.
http://sourceforge.net/search/?type_...earch+intranet
Last edited by JohnT; 09-23-2009 at 04:57 AM.
-
yeah I checked out that site before already and it kinda scared the **** outta me.
Anyway I think I'm going to keep trying a bit more with SimpleSearch, hopefully getting it going on debian will be easier.
Thanks for the suggestion
Linux user #367409
-
ok so I've set up SimpleSearch now on Debian (Lenny) and I'm finding I still have the same problem. I've changed search.html so that
Code:
<form method="POST" action="search.pl">
because the search.pl file is in the same directory as the search.html file.
I've edited search.ph so that the define variables are like so:
Code:
$basedir = '/var/www/sites/mysite/';
$baseurl = 'http://www.mysite.com/';
@files = ('*.html');
$title = "Matt's Script Archive";
$title_url = 'http://www.mysite.com/';
$search_url = 'http://www.mysite.com/search/search.html';
problem now is if I go to do a search with it, rather than running the search.pl script, the firefox download dialogue box opens asking me if I want to run search.pl with Geany or do I want to save it.
Help???
Last edited by infiniphunk; 10-05-2009 at 11:54 AM.
Linux user #367409
-
Hi infiniphunk
I'd expect to see the form defined similar to this:
Code:
<form method="post" action="/cgi-bin/search.pl">
I'd suggest on reading how to enable CGI on Apache, a couple of links that might shed some light for you:
http://ubuntuforums.org/showthread.php?t=422412
http://bignosebird.com/apache/a3.shtml
http://nixcraft.com/linux-software/3...-location.html
-
thanks a lot, going to try it!
Linux user #367409
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|