Get the monkey http daemon -> monkey It's a lightweight httpd daemon that runs cgi on any port you want. It defaults to 2001. Set it up in your home dir to use /home/yourusername as it's root. I installed it to /home/user/monkey
Then install Perlfect ->Perlfect Install it to the monkey cgi-bin. It has a setup script which works perfectly, just answer the questions. A tip: Don't run the indexer during the perlfect install, as it will index your whole homedir, and take forever. What you want to do is go into ~/monkey/cgi-bin/perlfect/search/conf/no_index.txt and edit it. What I did was dump all the directories in my homedir to no_index.txt with ls, then REMOVE the directories which you want indexed. Then run the indexer.pl script.
Now you just need to copy the search.html from the templates directory, to your /home/user/search.html and edit it's link to point to search.pl.
Start the monkey httpd daemon and point your browser to "http://127.0.0.1:2001/search.html and search all your saved files.
I wish O'reilly had used this search script on their Perl CD Bookset, instead of that crappy java search engine, which won't work with mozilla.
In reply to Searching locally with Perlfect with Monkey Httpd by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |