# --------------------------------------
# Advanced MetaSearch Engine
# Version 4.0 (standard)
# File: ReadMe.txt
# --------------------------------------
# All Rights Reserved
# (c) CurryGuide.com, 2001.
#
#
#
# IMPORTANT:
#
# This program, its components, subroutines are property of CurryGuide.
# As agreed, you are only allowed to use this program under the following
# conditions:
#
# 1. This File and other related script and templete files
# (hereinafter mentioned as 'script') remains under the copyright of
# CurryGuide which includes the programming design, architecture,
# individual operational blocks, subroutines etc. You, the buyer is
# quoted as the 'buyer' hereinafter.
#
# 2. The 'script' as a whole or any part of it may NOT be resold,
# copied, transferred to another party or used in any other program
# for ANY purposes.
#
# 3. The 'buyer' is only allowed to update or modify individual elements
# or programming blocks or subroutines where they are clearly marked
# as modifiable or commented as modifiable.
#
# 4. E-Mail Technical support is provided under the terms defined in the
# 'Package Description' on the website.
#
# 5. Under no circumstances CurryGuide shall be held liable to ANY
# loses, fines, judiciary proceedings directly or indirectly related
# to purchase or usage of this 'script'. The 'buyer' uses this program
# entirely on his/her own risk.
#
# 6. One single package entitles the 'buyer' to use it on one (1) single
# individually identifiable domain or sub-domain ONLY.
#
# 7. The 'buyer' must clearly identify his/her requirements and clarify
# all technical compatability issues before the actual purchase.
# The 'buyer' also understands that NO refunds can be claimed.
#
# 8. Headers and CopyRight information at the beginning of each file MUST
# remain intact. Under no circumstances you are allowed to alter or
# modify or remove them.
#
# 9. CurryGuide reserves the sole right to review and/or change the
# 'Purchase and Usage Conditions'. Current 'Purchase and Usage
# Conditions' will be available on a CurryGuide website.
#
# ---------------------------------------------------------------------
# Ref: AM4.00(std)-01-2001-DOC01
In case of any problem/error, please read the 'Problems' Section before
contacting Technical Support.
!!! Special Instructions !!!
----------------------------------------------------------------------
IF YOU ARE UPGRADING FROM A PREVIOUS VERSION, PLEASE READ THE ATTACHED
'Upgrade.txt' FILE BEFORE MAKING ANY INSTALLATION !!!
This does not apply to new customers.
-----------------------------------------------------------------------
TABLE OF CONTENTS
-----------------------------------------------------------------------
1. The Package
2. System Requirements
3. Installation
4. Usage
4.1 - Search-Box
4.2 - Advanced/Boolean Query Syntax
4.3 - Logging
4.4 - Cache Cleaning
5. Customizations
5.1 - Global Customizations
5.2 - Search Result Customizations
6. Problems
7. Technical Support
---------------------------------------------------------
________________________________________________________________________
1. The Package
________________________________________________________________________
The package usually comes in a compressed zip file. Before you can
install it on your server you will need to uncompress the package
and upload all the files as packed in this zip file. Please keep the
directory structure as is (most unzip programs does it automatically);
as this will make the installation easier.
ALL files should be uploaded in ASCII FORMAT.
________________________________________________________________________
2. System Requirements
________________________________________________________________________
Fully working web server with Perl version 5.004 or later (standard
distribution). Advanced MetaSearch should work fine on all well known
OS (Unix, NT, Windows 2000 and Unix flavour OS like: Linux). The script
should also work fine on Mac machines (perhaps flocking set to Off).
________________________________________________________________________
3. Installation
________________________________________________________________________
-> (A)
Before installation, please Check the Perl path in the main script
file 'cgsearch.cgi'. It is the first line of code in the file.
Initial setting is as follows:
#!/usr/local/bin/perl
Change it to CORRECT path to Perl on your server, if path to Perl is
different on your server.
NOTE: On most servers path to Perl is either as shown above or any
of the following:
#!/usr/bin/perl
or
#!/bin/perl
etc.
On some Windows machines you may also find your path to Perl is
something like:
#!d:/perl/bin/perl
However, it can be quite different on your server. Consult your
server administrator if not sure.
NOTE: You MUST use a 'Plain Text Editor' to make this path
modification (or other customizations in the Configuration files
as mentioned in the 'Internal Customization' section (see below).
If you do not have any commercial 'Plain Text Editor', you can use
the one that came with your OS software.
Example: 'Notepad' on Windows. (Do not use the 'Write' or 'WordPad'
program or other programs unless you are sure it is a Plain Text
Editor; as they might corrupt your Perl script by adding unnecessary
line breaks or other control characters).
>> 3.1. Quick Installation
------------------------
(A)
Create a new directory named 'cgsearch' within the 'cgi-bin'
directory on your server. We will call this 'Main Script
Directory' where your 'Advanced MetaSearch Engine' will be
installed.
NOTE: generally speaking, 'cgi-bin' is a sub-directory on your
server where you are allowed to install and run executable
programs and scripts. It may also be called 'cgi-local' or
'scripts' or something else on your server. We will refer to it as
'cgi-bin' for ease of explanation.
Upload all the files as they are in this package keeping the
directory structure. (Take note of the sub-directories within).
If you are using any latest FTP clients, you may find that it
will allow you to upload (copy) the entire 'cgsearch' directory
and it's contents from your local machine to the server with 1
(one) single action. You may not even need to create the
'cgsearch' directory yourself.
-> (B)
Set permissions to the main script file as shown below:
cgsearch.cgi - chmod 755 (-rwxr-xr-x)
-> (C)
Set permission to the following sub-directories as shown:
sub-directory: storage -chmod 777 (drwxrwxrwx)
sub-directory: log-count -chmod 777 (drwxrwxrwx)
sub-directory: log-keyword -chmod 777 (drwxrwxrwx)
NOTE:
Usually there is NO need to set ANY permission on Windows NT machines.
On Unix or Linux machines you will need to set permission to the above
files and sub-directories as mentioned. Permission to ALL other script
files are usually set to chmod -644 automatically. In case you get any
problem, simply set permission to all other script files as:
chmod -644 (-rw-r--r--).
-> (D)
Now, unzip the Engine-Module files and upload your engine-modules
to the 'engs-web' sub-directory.
Depending on your OS, you may need to set permission to these
engine-module files as shown below:
chmod -644 (-rw-r--r--).
-> (E)
Now, call the script from a browser using the following URL:
http://your-server.com/cgi-bin/cgsearch/cgsearch.cgi
If everything is OK, it should be working just fine. Now, continue
reading the following sections for details on customization and usage.
4. Usage
5. Customizations
--------------------------------------------------------------
>> 3.2. Detailed Installation
--------------------------
-> (A)
Create a new directory named 'cgsearch' within the 'cgi-bin'
directory on your server. We will call this 'Main Script
Directory' where your 'Advanced MetaSearch Engine' will be
installed.
NOTE: generally speaking, 'cgi-bin' is a sub-directory on your
server where you are allowed to install and run executable
programs and scripts. It may also be called 'cgi-local' or
'scripts' or something else on your server. We will refer to it as
'cgi-bin' for ease of explanation.
-> (B)
Create the following 3 sub-directories with-in this newly
created 'cgsearch' directory and set permission as shown.
storage
log-count
log-keyword
Set permission to these new 3 sub-directories as shown below:
sub-directory: storage -chmod 777 (drwxrwxrwx)
sub-directory: log-count -chmod 777 (drwxrwxrwx)
sub-directory: log-keyword -chmod 777 (drwxrwxrwx)
NOTE:
Usually there is NO need to set ANY permission on Windows machines.
In fact you may find that there is no such thing as setting permission
on Windows machines. In such a case it is ESSENTIAL that the 'cgsearch'
directory is Read, Write and Execute enabled.
-> (C)
Now, create another sub-directory named 'conf' with-in the
'cgsearch' directory.
conf (sub-directory)
-> (D)
Upload the 'web.pl' file to this 'conf' sub-directory. Set
permission to this web.pl file as shown below:
web.pl - chmod 644 (-rw-r--r--)
NOTE: This is the Configuration setting file for Web-Search. You
will set/modify ALL internal customizations for Web-Search using
this configuration file (web.pl).
-> (E)
Create another sub-directory named 'template' with-in the
'cgsearch' directory.
template (sub-directory)
-> (F)
Upload the 'web.html' file to this 'template' sub-directory.
Set permission to this Template file (web.html) as follows:
web.html - chmod 644 (-rw-r--r--)
NOTE: This is the Template file for Web-Search. You will customize
this Template file to set overall HTML design of your Web-Search option.
-> (G)
Create another sub-directory named 'engs-web' with-in the
'cgsearch' directory.
engs-web (sub-directory)
-> (H)
Unzip the Engine-Module packages and upload ALL the Web-Search
engine-module files to this 'engs-web' sub-directory
(Example: Yahoo.pl, Infoseek.pl etc. as delivered)
Set permission to all these engime-module files as follows:
Yahoo.pl - chmod 644 (-rw-r--r--)
Infoseek.pl - chmod 644 (-rw-r--r--)
NOTE: Engime-Module collection may vary. The above Yahoo.pl and Infoseek.pl
are mentioned for explanation only.
-> (I)
Now upload the following 2 files to the 'Main Script Directory'
(cgsearch) and set permission as shown below:
cgsearch.cgi - chmod 755 (-rwxr-xr-x)
global_config.pl - chmod 644 (-rw-r--r--)
NOTE: the 'cgsearch.cgi' is the main script file and must have
permission setting (chmod 755). global_config.pl is the 'Global
Configuration' file. Setting on this Global Configuration file
will affect overll running of your search engine; including
any other Specialty-Search options (Auction, News, Job, MP3 etc.)
you may want to add any time later.
INSTALLATION IS COMPLETE IF YOU HAVE COMPLETED ALL THE ABOVE MENTIONED
STEPS CORRECTLY.
Your Main Script Directory 'cgsearch' now should look like:
Directory:
cgsearch
cgsearch.cgi - (main script file)
global_config.pl - Global Configuration File
Sub-Directories:
storage - Empty
log-count - Empty
log-keyword - Empty
conf - contains Web-Search configuration
file 'web.pl'
template - contains Web-Search Template
file 'web.html'
engs-web - initially empty. BUT, you will
need to upload your Web-Search
Engine-Modules after the initial
installation is complete.
NOTE: DO NOT FORGET TO DOWNLOAD
YOUR Engine-Modules and upload them
to this sub-directory before testing
your search engine.
Now, you can test your Advanced MetaSearch Engine by calling it from
your browser using an URL similar to this:
http://your-server.com/cgi-bin/cgsearch/cgsearch.cgi
Now, type some 'Keywords' and try search using your Advanced
MetaSearch Engine.
________________________________________________________________________
4. Usage
________________________________________________________________________
>> 4.1. Search-Box
-----------
To put your Advanced MetaSearch Engine on your web-site (Home page)
you will need to add Search-Box (Search Form/s) on your web pages
where your visitors can type their Keywords and make search.
'Search-Box' is a HTML FORM which take the inputs and submit the request
to your Advanced MetaSEarch Engine. Be careful to check the 'action'
parameter in your search FORM, it should direct to the URL (NOT PATH)
of the main search script (cgsearch.cgi) on your server.
Example:
Podobne podstrony:
READMEReadmereadmereadmereadme7 ReadMedist mem gen v6 2 readmeReadMereadmeMscode99 READMEREADMEwięcej podobnych podstron